From 28b9f0736e43d188abc8a5b63eee1e428cca2935 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Wed, 15 Oct 2025 09:21:37 +0300 Subject: Add pylogsentinel --- templates/etc_crontab.j2 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'templates/etc_crontab.j2') 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 -- cgit v1.3