Remove logwatch emails on a server (Red Hat Enterprise Linux)

Posted 2 years ago

There’s a symlink located here /etc/cron.daily/0logwatch which points to /usr/share/logwatch/scripts/logwatch.pl

If you remove this file it will break the connection

rm /etc/cron.daily/0logwatch

To enable it again, just add the symlink back in.

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

Find out more about symlinks here