fix: crontab syntax
This commit is contained in:
parent
9975374ed8
commit
38188066df
1 changed files with 3 additions and 3 deletions
|
@ -1,10 +1,10 @@
|
||||||
# /etc/cron.d/restic.crontab
|
# /etc/cron.d/restic.crontab
|
||||||
|
|
||||||
# every 4 hours create a backup
|
# every 4 hours create a backup
|
||||||
0 */4 * * * root /opt/scripts/restic/backup.sh
|
0 */4 * * * root bash /opt/scripts/restic/backup.sh
|
||||||
|
|
||||||
# every day at 2 in the morning, forget old backups
|
# every day at 2 in the morning, forget old backups
|
||||||
0 20 * * * root /opt/scripts/restic/forget.sh
|
0 20 * * * root bash /opt/scripts/restic/forget.sh
|
||||||
|
|
||||||
# every 1st of the month at 10 in the morning, prune
|
# every 1st of the month at 10 in the morning, prune
|
||||||
50 10 1 * * root /opt/scripts/restic/prune.sh
|
50 10 1 * * root bash /opt/scripts/restic/prune.sh
|
Loading…
Reference in a new issue