Re: Logwatch cron job

2020-05-08 Thread Tim via users
On Fri, 2020-05-08 at 08:23 -0400, Robert Moskowitz wrote: > This is a little more challenging when you don't have a mailer. If you don't want to run a mail server, you could do a different approach: Have a watchdog program monitor a /var/log/your-log-file and act upon it. -- uname -rsvp Lin

Re: Logwatch cron job

2020-05-08 Thread Francis . Montagnac
On Fri, 08 May 2020 10:26:05 -0400 Robert Moskowitz wrote: > On 5/8/20 10:18 AM, francis.montag...@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 lo

Re: Logwatch cron job

2020-05-08 Thread Robert Moskowitz
On 5/8/20 10:18 AM, francis.montag...@inria.fr wrote: Hi. On Fri, 08 May 2020 09:51:13 -0400 Robert Moskowitz wrote: May 8 03:27:17 lx140e run-parts[66530]: (/etc/cron.daily) finished 0logwatch So it looks like I need to modify /etc/logwatch/conf/logwatch.conf with mailer = "/usr/local/mycro

Re: Logwatch cron job

2020-05-08 Thread Francis . Montagnac
Hi. On Fri, 08 May 2020 09:51:13 -0400 Robert Moskowitz wrote: >> May 8 03:27:17 lx140e run-parts[66530]: (/etc/cron.daily) finished 0logwatch >> So it looks like I need to modify /etc/logwatch/conf/logwatch.conf with >> mailer = "/usr/local/mycron" >> And see what happens next. > # cat /etc/

Re: Logwatch cron job

2020-05-08 Thread Robert Moskowitz
On 5/8/20 8:23 AM, Robert Moskowitz wrote: This is a little more challenging when you don't have a mailer.  I see it ran: May  8 03:01:02 lx140e anacron[66134]: Anacron started on 2020-05-08 May  8 03:01:02 lx140e anacron[66134]: Will run job `cron.daily' in 26 min. May  8 03:01:02 lx140e a

Logwatch cron job

2020-05-08 Thread Robert Moskowitz
This is a little more challenging when you don't have a mailer.  I see it ran: May  8 03:01:02 lx140e anacron[66134]: Anacron started on 2020-05-08 May  8 03:01:02 lx140e anacron[66134]: Will run job `cron.daily' in 26 min. May  8 03:01:02 lx140e anacron[66134]: Jobs will be executed sequentiall