Added cron example for FreeBSD

This commit is contained in:
Erik Westrup
2018-07-01 10:59:11 +02:00
parent e35b817157
commit 47a129d2c6
3 changed files with 39 additions and 0 deletions

8
etc/cron.d/restic Normal file
View File

@@ -0,0 +1,8 @@
SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin/:/usr/local/sbin/
# Order of crontab fields
# minute hour mday month wday command
# Reference: https://www.freebsd.org/doc/handbook/configtuning-cron.html
# Reference: crontab(5).
@midnight root cron_mail restic_backup.sh
@monthly root cron_mail restic_check.sh