Hello
when I execute a php script using a cronjob in this way
/5 * /usr/bin/php /usr/local/script/myscript.php
It works without problem and execute each 5 minutes
If I use
/5 * /usr/bin/php /usr/local/script/myscript.php > /dev/null
it does NOT work ..
The script from command line works without any problem.
/dev/null works fine for all other cronjobs (perl and bash cronjobs).
I'm going mad , which could be the problem ?
I replicated the same problem on other 3 servers !
myscript.php is wrote with php 4.4.2 . I replicated the problem on a red hat server
and 2 Centos 4 servers.
/dev/null is important because I want avoid to receive an email notification each 5 minutes ...
Any idea ?
Regards