aboutsummaryrefslogtreecommitdiffstats
path: root/templates/etc_crontab.j2
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-10-15 09:21:37 +0300
committerJan Tuomi <jan@jantuomi.fi>2025-10-15 09:21:37 +0300
commit28b9f0736e43d188abc8a5b63eee1e428cca2935 (patch)
tree8f99c06addb532e7a2200ced634b2f0c60aae9e1 /templates/etc_crontab.j2
parent9105c2d8936b0256e5aa3068fbeb7cc440144968 (diff)
Add pylogsentinel
Diffstat (limited to 'templates/etc_crontab.j2')
-rw-r--r--templates/etc_crontab.j25
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/etc_crontab.j2 b/templates/etc_crontab.j2
index affdf7d..de1f3c6 100644
--- a/templates/etc_crontab.j2
+++ b/templates/etc_crontab.j2
@@ -25,3 +25,8 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
5 3 * * * root logto /var/log/backup /usr/local/bin/backup snapshot prune-local
# 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
+
+# Run pylogmonitor
+*/10 * * * * root python -m pylogsentinel
+# Run pylogsentinel batch job once a day
+5 6 * * * root /usr/local/bin/pylogsentinel-batch-email.sh