I created a cron job with the following command:
Code:
/usr/share/logwatch/scripts/logwatch.pl
and it appears to run fine, however this errors occurs:
Code:
Can't exec "sendmail": No such file or directory at /usr/share/logwatch/scripts/logwatch.pl line 941, <TESTFILE> line 3.
Logwatch is configured to send a report to my email. When I run logwatch manually it sends the mail, however with the cron job it doesn't.
Any sugestions? Thanks in advance.