From c50e66b48f1d119b87033a8a96c287265d53a0fa Mon Sep 17 00:00:00 2001 From: Erik Westrup Date: Sun, 13 Feb 2022 18:47:31 +0100 Subject: [PATCH] Cron not using cron_email by default --- etc/cron.d/restic | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/etc/cron.d/restic b/etc/cron.d/restic index ed6f5ce..f4037ef 100644 --- a/etc/cron.d/restic +++ b/etc/cron.d/restic @@ -4,5 +4,10 @@ PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin/:$INSTALL_PREFIX/bin/ # minute hour mday month wday command # Reference: https://www.freebsd.org/doc/handbook/configtuning-cron.html # 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