PDA

View Full Version : Crontab Variables


ugh82
10-26-2004, 10:13 AM
Hi,

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 ?

Thanks

IWorx-Paul
10-26-2004, 02:07 PM
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