Strange cron issue.

Cryo

New member
Joined
Mar 3, 2006
Messages
4
I have my crons setup properly like I did on my previous server, they worked fine. Basically I'm using the following line...

php -q /path/to/file.php

If I run the commands from the shell they execute and work fine. The permissions are also setup properly for both the directories and the individual files. Regardless of all this, the crons will not execute for some reason. It's starting to really frustrate me. Any assistance or suggestions you kind folks can offer would be wonderful.
 
You need the complete path to php in your cronjob.

All cronjobs need the complete path to all files.

Jeff
 
So the command would be...

/path/to/php -q /path/to/file.php

... instead of what I had above?
 
Back
Top