aboutsummaryrefslogtreecommitdiffstats
path: root/roles/host/templates/etc_crontab.j2
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2026-05-17 13:35:43 +0300
committerJan Tuomi <jan@jantuomi.fi>2026-05-17 19:32:16 +0300
commitb38e910899bad2d6ae2049b599dcdd525420c53d (patch)
treec6b277aafe1e6e278368dc5ca25a4acd624b20d2 /roles/host/templates/etc_crontab.j2
parentc1a39b7e43bed135cb1832b2b5da7c82bf7a4c78 (diff)
Fix postgres
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