From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Fischer To: development@lists.ipfire.org Subject: Logwatch (randomly) skipping days => Feature!? Date: Sun, 17 Feb 2019 10:22:26 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8993626863894273451==" List-Id: --===============8993626863894273451== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi, I discovered something weird: >>From time to time 'logwatch' does not create a daily log. E.g.: The file '/var/log/logwatch/2019-14-26' exists, but size = 0 Bytes. The same happened yesterday with '/var/log/logwatch/2019-02-16': 0 Bytes. After running... /usr/local/bin/logwatch > /var/log/logwatch/`date -I -d yesterday`; \ LOGWATCH_KEEP=$(sed -ne 's/^LOGWATCH_KEEP=\([0-9]\+\)$/\1/p' /var/ipfire/logging/settings); \ find /var/log/logwatch/ -ctime +${LOGWATCH_KEEP=56} -exec rm -f '{}' ';' ...manually from console, file was created, everything looks ok. 1. Can anyone confirm? 2. With which parameter could I change the starting time "01 0 * * *" so that this doesn't happen again? I'm searching, but can't find a grip on this... Best, Matthias --===============8993626863894273451==--