RE: [PHP] CRONTAB
| From: | Miguel Cruz | Date: | Sat, 06 Apr 2002 00:41:01 +0000 |
| Subject: | RE: [PHP] CRONTAB | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-91821@lists.php.net to get a copy of this message | ||
On Fri, 5 Apr 2002, Julian wrote:
> My script run fine with:
>
> 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
PHP thinks it's producing output to be sent via a web server, so it
outputs those headery lines.
Changing "/usr/bin/php" to "/usr/bin/php -q" will probably fix the
problem.
miguel