diff options
-rw-r--r-- | cron_templates/crontab | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cron_templates/crontab b/cron_templates/crontab index 0451726..a8e4e99 100644 --- a/cron_templates/crontab +++ b/cron_templates/crontab @@ -1,5 +1,7 @@ MAILTO="root,noc@domain.tld" +RANDOM_DELAY=150 #Run backup scripts -0 3 * * * bash /etc/restic.d/backups.d/*.sh | tee >>/var/log/restic.log 1>/dev/null -0 0 1 * * bash /etc/restic.d/cleanup.d/*.sh | tee >>/var/log/restic.log -0 19 2 */3 * bash /etc/restic.d/checkup.d/*.sh | tee >>/var/log/restic.log + +0 3 * * * run-parts /etc/restic.d/backups.d | tee >>/var/log/restic.log 1>/dev/null +0 0 1 * * run-parts /etc/restic.d/cleanup.d | tee >>/var/log/restic.log +0 19 2 */3 * run-parts /etc/restic.d/checkup.d | tee >>/var/log/restic.log |