From c0e9ad9eda120d222edda0e1d4eeb3384f80c4be Mon Sep 17 00:00:00 2001 From: Thomas Groman Date: Thu, 26 Mar 2020 17:21:43 -0700 Subject: use tee instead of walkas for log append --- cron_templates/crontab | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cron_templates/crontab b/cron_templates/crontab index a8e4e99..9e89f2b 100644 --- a/cron_templates/crontab +++ b/cron_templates/crontab @@ -2,6 +2,6 @@ MAILTO="root,noc@domain.tld" RANDOM_DELAY=150 #Run backup scripts -0 3 * * * run-parts /etc/restic.d/backups.d | tee >>/var/log/restic.log 1>/dev/null -0 0 1 * * run-parts /etc/restic.d/cleanup.d | tee >>/var/log/restic.log -0 19 2 */3 * run-parts /etc/restic.d/checkup.d | tee >>/var/log/restic.log +0 3 * * * run-parts /etc/restic.d/backups.d | tee -a /var/log/restic.log +0 0 1 * * run-parts /etc/restic.d/cleanup.d | tee -a /var/log/restic.log +0 19 2 */3 * run-parts /etc/restic.d/checkup.d | tee -a /var/log/restic.log -- cgit v1.2.3