Hey all,
I am kinda new to Cron jobs. I thought it was a nice way to automate a few things,
Using Webmin, I created 2 cronjobs to automate tripwire & chkrootkit checks. I wanted to add more but I am running into issues that I don't understand.
The commands I am running are:
@daily chkrootkit | mail -s "ChkRootkit report for `uname -n`" myemail@domain.com #somecomment
@daily tripwire --check | mail -s "Tripwirereport for `uname -n`" myemail@domain.com #some comment
Right now I've set them both to run daily at 00:00 AM, every day(testing purposes).
When I hit "Run now", I receive an email, with the expected report/result/output,
When I wait for it to run as scheduled, I receive an email, without any text in the body.
The subject is alright, but the body is empty.
Can anyone help me out here?
The OS is Ubuntu Server 14.04.2,
Tools used are both CLI/Terminal and Webmin.
Kind regards,
Frank
Bookmarks