summaryrefslogtreecommitdiffstats
path: root/cron_templates
diff options
context:
space:
mode:
authorThomas Groman <tgroman@nuegia.net>2020-03-26 17:21:43 -0700
committerThomas Groman <tgroman@nuegia.net>2020-03-26 17:21:43 -0700
commitc0e9ad9eda120d222edda0e1d4eeb3384f80c4be (patch)
tree1637ce2c083af5645c4e160bc6c512a044d486ba /cron_templates
parent4fd0575a6fa5e747bfceef15dbd1870a090ecaff (diff)
downloadrestic_bootsrap-master.tar
restic_bootsrap-master.tar.gz
restic_bootsrap-master.tar.lz
restic_bootsrap-master.tar.xz
restic_bootsrap-master.zip
use tee instead of walkas for log appendHEADmaster
Diffstat (limited to 'cron_templates')
-rw-r--r--cron_templates/crontab6
1 files 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