Stop logwatch from sending emails

Print

Q. I would like to stop LogWatch from sending me daily emails.

A. LogWatch runs from cron.daily:

/etc/cron.daily/0logwatch

It's a link to:

/usr/share/logwatch/scripts/logwatch.pl

The simplest solution is to remove the link:

rm /etc/cron.daily/0logwatch

If you've decided that you would like to restore the emails, you can run the following command as root:

ln -s /usr/share/logwatch/scripts/logwatch.pl /etc/cron.daily/0logwatch

 

 

Linux