Cron Not Running
I am trying to figure out why a cron job is not running. I am tried as a user and as a root and it is still not running. I found this error.
Apr 22 12:00:01 SERVERNAME CROND[8394]: (root) CMD (cd /home/USERNAME/public_html; php -f cron.php > /dev/null 2>&1 )
Thanks!
-
Hello, The output you provided shows the cron job ran at the referenced time. Could you elaborate on where you see the error message? Thank you. 0 -
Well then I guess it is running but the app is not working. Thanks, Steve 0 -
Hello, Does it work as expected when you run the command manually? Thank you. 0 -
Yes the command works perfectly when ran manually. Thanks, Steve 0 -
Could you open a support ticket so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome. Thank you. 0 -
Thank you. The ticket is ID is 6421595. Thanks, Steve 0 -
To update, the user addressed the issue by using php-cli instead of php in the cron job. Thank you. 0 -
I am happy to see the issue is now resolved. Thank you for updating us with the full details of the resolution. 0
Please sign in to leave a comment.
Comments
9 comments