Cron not using cron_email by default
This commit is contained in:
+7
-2
@@ -4,5 +4,10 @@ PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin/:$INSTALL_PREFIX/bin/
|
|||||||
# minute hour mday month wday command
|
# minute hour mday month wday command
|
||||||
# Reference: https://www.freebsd.org/doc/handbook/configtuning-cron.html
|
# Reference: https://www.freebsd.org/doc/handbook/configtuning-cron.html
|
||||||
# Reference: crontab(5).
|
# Reference: crontab(5).
|
||||||
@midnight root . $INSTALL_PREFIX/etc/restic/default.sh && cron_mail restic_backup.sh
|
|
||||||
@monthly root . $INSTALL_PREFIX/etc/restic/default.sh && cron_mail restic_check.sh
|
@midnight root . $INSTALL_PREFIX/etc/restic/default.sh && restic_backup.sh
|
||||||
|
@monthly root . $INSTALL_PREFIX/etc/restic/default.sh && restic_check.sh
|
||||||
|
|
||||||
|
# Email notification version:
|
||||||
|
#@midnight root . $INSTALL_PREFIX/etc/restic/default.sh && cron_mail restic_backup.sh
|
||||||
|
#@monthly root . $INSTALL_PREFIX/etc/restic/default.sh && cron_mail restic_check.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user