Issues With Crons in v66.0.23
Hi, I've noticed that my scheduled cron jobs have stopped running sometime in the last 2-3 days. These cron jobs were originally setup about over a year ago and I have not encountered any issues until recently.
The crons are setup to execute a couple scripts once every hour. At first I thought it was an issue with the code, but after combing through the scripts and reviewing the error log everything looks good. When I manually execute these scripts and everything works perfectly in every test. Just an FYI, I'm not a developer, but I know and am able to learn enough to get by; so I'm just looking for some assistance with pointing me in the right direction to get this resolved.
If anyone has any ideas it would be greatly appreciated.
0 * * * * php -q /home/path/to/my/php/script.php
5 * * * * php -q /home/path/to/my/php/script2.phpIf anyone has any ideas it would be greatly appreciated.
-
Hello, Do you see references to these cron jobs in the /var/log/cron log file? Also, can you verify what the "SHELL=" entry looks like for this account in the /var/spool/cron/$username file? Thank you. 0 -
Hello, Do you see references to these cron jobs in the /var/log/cron log file? Also, can you verify what the "SHELL=" entry looks like for this account in the /var/spool/cron/$username file? Thank you.
Thanks for your quick response! I do not see any reference to the files in the cron log, which goes back 5 days to 9/17/17. Here's the shell line you requested:SHELL="/usr/local/cpanel/bin/jailshell"
Thanks in advance.0 -
I tested crons on a different server today and experienced the same exact issue. I also checked the summary.log file today and saw that Cpanel was updated around the same time I noticed scheduled Cpanel crons stopped working. [2017-09-19 04:41:06 -0400] Completed update 11.66.0.22 -> 11.66.0.23 0 -
Hello, Could you open a support ticket using the link in my signature so we can take a closer look? Thank you. 0
Please sign in to leave a comment.
Comments
4 comments