aboutsummaryrefslogtreecommitdiffstats
path: root/roles/host/templates/etc_crontab.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/host/templates/etc_crontab.j2')
-rw-r--r--roles/host/templates/etc_crontab.j26
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/host/templates/etc_crontab.j2 b/roles/host/templates/etc_crontab.j2
index de1f3c6..5cd0d86 100644
--- a/roles/host/templates/etc_crontab.j2
+++ b/roles/host/templates/etc_crontab.j2
@@ -22,11 +22,11 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
1,31 0-5 * * * root adjkerntz -a
# Take snapshots every day at 3:05 AM
-5 3 * * * root logto /var/log/backup /usr/local/bin/backup snapshot prune-local
+5 3 * * * root /usr/local/bin/backup snapshot prune-local >>/var/log/backup 2>&1
# Send backup snapshots to remote every third day at 4:05 AM
-5 4 */3 * * root logto /var/log/backup /usr/local/bin/backup send-to-remote prune-remote notify
+5 4 */3 * * root /usr/local/bin/backup send-to-remote prune-remote notify >>/var/log/backup 2>&1
-# Run pylogmonitor
+# Run pylogsentinel
*/10 * * * * root python -m pylogsentinel
# Run pylogsentinel batch job once a day
5 6 * * * root /usr/local/bin/pylogsentinel-batch-email.sh