summaryrefslogtreecommitdiffstats
path: root/cron_templates
diff options
context:
space:
mode:
authorThomas Groman <tgroman@nuegia.net>2020-03-11 14:30:34 -0700
committerThomas Groman <tgroman@nuegia.net>2020-03-11 14:30:34 -0700
commit753ad76f5f32ace36a7686936b76caf296c7ff65 (patch)
treedc1c94387e370e362117eeda5c634ed383e3020e /cron_templates
downloadrestic_bootsrap-753ad76f5f32ace36a7686936b76caf296c7ff65.tar
restic_bootsrap-753ad76f5f32ace36a7686936b76caf296c7ff65.tar.gz
restic_bootsrap-753ad76f5f32ace36a7686936b76caf296c7ff65.tar.lz
restic_bootsrap-753ad76f5f32ace36a7686936b76caf296c7ff65.tar.xz
restic_bootsrap-753ad76f5f32ace36a7686936b76caf296c7ff65.zip
initial commit
Diffstat (limited to 'cron_templates')
-rw-r--r--cron_templates/crontab5
1 files changed, 5 insertions, 0 deletions
diff --git a/cron_templates/crontab b/cron_templates/crontab
new file mode 100644
index 0000000..0451726
--- /dev/null
+++ b/cron_templates/crontab
@@ -0,0 +1,5 @@
+MAILTO="root,noc@domain.tld"
+#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