Crontab Variables


I create a cron every 2 minutes in siteworx. My problem is that i get every 2 minutes an email from the cron. I tried to change the globals variables to set to none but interworx set again to default.

How can i set MAILTO variable to none ?


If you redirect the output of your command to /dev/null, no mail will be sent out.

So the command part of your cron would now look like:

the-command > /dev/null 2>&1