Php file run by cron doesn't work. Get session_start error. No blanks in file. Is server working properly?
Posted on 2009-02-22
I've a script that works perfect, except a part of it relying on cron jobs running 3 different php files. For every run I get an error.
I've also tested with a "blank" php file run by the cron, and it produces the same error.
The php file I call test.php has only this code inside:
There is NO blanks inside...
I run the cron from Cpanel, with this command:
php -q /home/user/public_html/campaign/test.php
Here's the error I get in the email when running the crons: Why?
(the first error message under)
The second error message I get if I do NOT have the -q in the cron.
And WHY is the last "Expires" date 1981 ??? That I really don't understand :-)
Thanks for helping :-)