On Sun, 18 May 2025, 12:37 Helge Kreutzmann, <deb...@helgefjell.de> wrote:

>
> root@twentytwo:~# cat /etc/cron.d/logcheck
> # /etc/cron.d/logcheck: crontab entries for the logcheck package
> # These do nothing under systemd because the systemd timer will take
> precedence
>
> PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
> MAILTO=root
>
> @reboot         logcheck    if [ ! -d /run/systemd/system ] && [ -x
> /usr/sbin/logcheck ]; then nice -n10 /usr/sbin/logcheck -R; fi
> #2 * * * *       logcheck    if [ ! -d /run/systemd/system ] && [ -x
> /usr/sbin/logcheck ]; then nice -n10 /usr/sbin/logcheck; fi
> 2 * * * *       logcheck    if [ -x /usr/sbin/logcheck ]; then nice -n10
> /usr/sbin/logcheck; fi
>
>
> And now I get *one* e-mail again. The first had the exim error still,
> but the second did not.
>

makes sense -- there is  a lag as then failed weite to paniclog on run N is
reported by logcheck in run N+1

is this with the systemd unit enabled or disabled?

Reply via email to