[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Serverbackup cron



Hello @all,

at the moment backups are placed in cron.daily, cron.weekly and
cron.monthly.
To have a better time control I want to place this in cron.d.

Is there a better/ easier way for daily backups?
I don't want to do a daily backup if weekly or monthly is running.

# Cron jobs for Serverbackup
## minute stunde tag monat wochentag    user    script

# daily at 1 o'clock 2-31 not on days where weekly is run
0 1
2,3,4,5,6,8,9,10,11,12,13,15,16,17,18,19,20,22,23,24,25,26,27,28,29,30,31 *
*       root    /usr/sbin/serverbackup daily

# weekly at 3 o'clock on day 7,14,21
0 3 7,14,21 * *       root    /usr/sbin/serverbackup weekly

# monthly at 0 o'clock on day 1 of month
0 0 1 * *       root    /usr/sbin/serverbackup monthly



Regards,
Basti




Reply to: