feat: move restic cron to common/cron

This commit is contained in:
Strix 2023-10-18 18:07:20 +02:00
parent 2756e4f7c7
commit c60680b0d5
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774

View file

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