I have the following line in my /etc/cron.d/apache2watch file
* * * * * root /bin/apache2-restart.sh &> /dev/null
I am currently receiving hundreds of mails to root because of this. I don't know why root is still receiving mail every second or so telling me that the cron job was run - even though I have clearly redirected outputs to /dev/null
Can anyone explain why root continues to receive mail, and how I can change this behaviour?
I am running on Ubuntu 10.04 LTS