On Fri, Apr 05, 2002 at 09:42:02PM -0300, Julian wrote:
> 0 0 * * * /usr/bin/php /path/to/my/script.php
> But I continue receiving an email each time that the script run that say:
> X-Powered-By: PHP/4.0.6
> Content-type: text/html

Those two lines are PHP's default output.  Crontab, by default, sends 
output of programs to the user by email.  You can change both behaviors 
by doing this:

0 0 * * * /usr/bin/php -q /path/to/my/script.php >> /dev/null 2>&1



                PHP scripts that make your job easier
         SQL Solution  |  Layout Solution  |  Form Solution
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
 4015 7 Ave, Brooklyn NY 11232    v: 718-854-0335    f: 718-854-0409

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to