Good morning fellow Dathornians,
I have a php/mysql-based text game that I run on my site. It has a scheduler that refreshes the turn count and updates the database but the cron job will not run it properly.
Cron job:
The output I get from the email summary is:
Could not open input file: /home/<user>/public_html/dz/scheduler.php?password=MyPassword
I can run the php file and pass the password parameter to it via my web browser without issue.
Is there possibly a permissions issue of some sort? I tried setting the file to 755 as well.
Any help is most appreciated.
I have a php/mysql-based text game that I run on my site. It has a scheduler that refreshes the turn count and updates the database but the cron job will not run it properly.
Cron job:
Code:
*/6 * * * * /usr/local/bin/php /home/<user>/public_html/dz/scheduler.php?password=MyPassword
Could not open input file: /home/<user>/public_html/dz/scheduler.php?password=MyPassword
I can run the php file and pass the password parameter to it via my web browser without issue.
Is there possibly a permissions issue of some sort? I tried setting the file to 755 as well.
Any help is most appreciated.
Comment