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

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
Norbert_Bohusch
Advisor

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
Rajput_Arvind
Contributor

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

0 Kudos
G_W_Albrecht
Legend
Legend

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.

CCSE CCTE CCSM SMB Specialist
0 Kudos
Maarten_Sjouw
Champion
Champion

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
Rajput_Arvind
Contributor

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

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

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events