I've just managed to setup a Cron job using a php script and my admin email reply back I knoe get is just:
X-Powered-By: PHP/5.2.10
Content-type: text/html
Should it say more than this? Like the number of processes etc or is this telling me something I don't want to know?
PHP error report?
Moderator: General Moderators
Re: PHP error report?
You shouldn't even be getting that.
What's your cron job look like?
What's your cron job look like?
Re: PHP error report?
Looks like this:
/usr/bin/php /home/username/public_html/cgi-bin/image_library_maintain_cl.php
/usr/bin/php /home/username/public_html/cgi-bin/image_library_maintain_cl.php
Re: PHP error report?
Change that to
The -q will suppress the headers: those are what you saw in the email. No output means no email.
Code: Select all
/usr/bin/php -q /home/username/public_html/cgi-bin/image_library_maintain_cl.php