cancel
Showing results for 
Search instead for 
Did you mean: 
Create a Post
Highlighted

Does R80.10 support cron job?

Hi,

We have existing MDS running on R77.30 where we have configured cron jobs. So can anyone let me know if I can copy these cron jobs as it is to R80.10 MDS. 

Thanks,

Arvind Singh

0 Kudos
6 Replies
Highlighted

Re: Does R80.10 support cron job?

Cron jobs are supported as in R77.30, but the question is more what the cron jobs are executing and if this is supported.

0 Kudos
Highlighted

Re: Does R80.10 support cron job?

These cron jobs are created for automatic policy push every night.

0 Kudos
Highlighted

Re: Does R80.10 support cron job?

According to sk90441: Shell script created by the user is not executed as expected when it is run from the cron j... and sk77300: How to create a scheduled job (cron job) in Gaia with frequency of less than a day this is supported in any version:

Product Security Gateway, Security Management, VSX
Version R75.40, R75.40VS, R75.45, R75.46, R75.47, R76, R77, R77.10, R77.20, R77.30, R80, R80.10, R80.20, R80.30
OS Gaia

 

So you could copy the called script and call it in a new cron job.

0 Kudos
Highlighted

Re: Does R80.10 support cron job?

Best way to do this, would be to use Clish commands:
[Expert@MDS]# clish -c "show configuration cron"
add cron job MDS_backup command "/backup/scripts/BackupMDS >/dev/null 2>&1" recurrence daily time 1:00
add cron job MDS_LogClean command "/backup/scripts/LogRem >/dev/null 2>&1" recurrence daily time 0:00
[Expert@MDS]# crontab -l
# This file was AUTOMATICALLY GENERATED
# Generated by /bin/cron_xlate on Mon Sep 30 07:11:11 2019
#
# DO NOT EDIT
#
SHELL=/bin/bash
MAILTO=""
#
# mins hrs daysinm months daysinw command
#

##MDS_LogClean
00 0 * * * /backup/scripts/LogRem >/dev/null 2>&1

##MDS_backup
00 1 * * * /backup/scripts/BackupMDS >/dev/null 2>&1
Regards, Maarten
0 Kudos
Highlighted

Re: Does R80.10 support cron job?

If this is supported then I can copy from jobs from R77.30 to R80.10. Is this correct?
0 Kudos
Highlighted

Re: Does R80.10 support cron job?

It works, I have some customers with R80.XX and cron jobs to clean up logs.

Regards,

____________
https://www.linkedin.com/in/federicomeiners/
0 Kudos