View Full Version : not sending mail @ cronjob
Desdinova
07-24-2006, 03:56 AM
Is it possible to turn off the mail sent after trying a cronjob? I have a PHPscript checking something every 5 minutes, and when TRUE the phpscript itself sends me a message. Right now I get a message every 5 minutes telling the cronjob has completed
extor
07-24-2006, 04:23 AM
Add "> /dev/null 2>&1" after the cronjob command in DirectAdmin and the output (mail) will go in the trash.. ;)
Desdinova
07-24-2006, 04:25 AM
thank you kindly :)
vBulletin® v3.7.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.