fix: crontabs may **not** have an extension

This commit is contained in:
Strix 2023-10-22 17:14:49 +02:00
parent 852000a071
commit 1cd2b290de
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774

10
skel/etc/cron.d/restic Normal file
View file

@ -0,0 +1,10 @@
# /etc/cron.d/restic.crontab
# every 4 hours create a backup
0 */4 * * * root bash /opt/scripts/restic/backup.sh
# every day at 20, forget old backups
0 20 * * * root bash /opt/scripts/restic/forget.sh
# every 1st of the month at 10 in the morning, prune
50 10 1 * * root bash /opt/scripts/restic/prune.sh