0

This is the line from my crontab However, the log never gets sent to me..and when I check the log it is empty. I have tried Chkrootkit from the terminal and it runs OK. What am I missing?

30 09 * * * root /usr/sbin/chkrootkit && cat /var/log/chkrootkit/log.today | mail -s "chkrootkit log for $(date)" xxx@gmail.com

I am using 14.04.

dunbrokin
  • 709

1 Answers1

0

A usual Desktop cannot send emails by default.

You need an email account somewhere and then for example setup postfix with satellite SMTP (see Setting up a send-only mail server )

rubo77
  • 34,024
  • 52
  • 172
  • 299