Email alerts from cron tab

Soldato
Joined
1 Feb 2006
Posts
8,188
Hi,

I have a cron job which executes a script on my site. The script works perfect but on completion it sends an email to my default account with the following contents.

Code:
X-Powered-By: PHP/5.2.5
Content-type: text/html

How can I stop this? It doesn't do this for other cron jobs I run. Seems quite strange.
 
I do want output if something has gone wrong but an empty email is no good to me. it doesn't seem to do it for other accounts where I use the same script. Thanks
 
Back
Top Bottom