On Fri, 08 May 2020 10:26:05 -0400 Robert Moskowitz wrote:
On 5/8/20 10:18 AM, Francis.Montagnac(a)inria.fr wrote:
> By using 'systemctl restart' you invoked the later that
do not use
> /etc/logwatch/conf/logwatch.conf ...
Ooops.
So to get things back to how they were:
systemctl stop logwatch
This is probably not necessary since this "service" is of type oneshot
and has thus surely already finished.
And then wait until cron.daily
Yes.
Another weakness of cron compared to systemd.timer :-):
you cannot test your change immediately except if you change
temporarily the start time of the cron job.
or do something to kick it off on the next cron hourly...?
No need thus.
--
francis