Jump to content

Cron jobs


Mutley

Recommended Posts

Found it but now it won't execute, it just does this:

 

/home/manager/public_html/cron_add_races.php: line 1: ?php: No such file or directory

/home/manager/public_html/cron_add_races.php: line 2: //#####: No such file or directory

/home/manager/public_html/cron_add_races.php: line 3: //: is a directory

/home/manager/public_html/cron_add_races.php: line 4: syntax error near unexpected token `'includes/sql_connect.php''

/home/manager/public_html/cron_add_races.php: line 4: `        require_once('includes/sql_connect.php');'

 

Are there certain things I can't have in the PHP script when using it with a cron job? (the script runs fine via browser).

Link to comment
https://forums.phpfreaks.com/topic/46021-cron-jobs/#findComment-223661
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.