I have a little problem with the cron daemon. I want to stop it from sending mail for a specific command. For example if I have:
10 * * * * someScript1.sh
15 * * * * someScript2.sh
I want to get the mail from someScript1 but not from someScript2. I tried setting the MAILTO=""
but that just blocks everything.
Redirect all output to a back hole
See http://www.xaprb.com/blog/2006/06/06/what-does-devnull-21-mean/ for more information.