evolinux-base: Check for syntax error in cron.log

This commit is contained in:
Alexis Ben Miloud--Josselin 2023-12-18 18:05:36 +01:00
parent c0f27426bc
commit 70c2d25837

View file

@ -8,4 +8,9 @@ template = /etc/log2mail/mail
file = /var/log/syslog
pattern = "memory read error"
mailto = {{ log2mail_alert_email or general_alert_email | mandatory }}
template = /etc/log2mail/mail
template = /etc/log2mail/mail
file = /var/log/cron.log
pattern = "Syntax error"
mailto = {{ log2mail_alert_email or general_alert_email | mandatory }}
template = /etc/log2mail/mail