Jessie Abernathy Posted October 11, 2018 Share Posted October 11, 2018 I am getting this error with my Cron --> see attached screen shot In the dashboard it says that my Cron has not ran succesfully, but in Settings -> Automation Settings , it says it has, and runs every 5 minutes... Do I have something not configured correctly? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted October 12, 2018 Share Posted October 12, 2018 @Jessie Abernathy there are two separate crons, a daily cron and a five-minute cron, its possible that something is preventing your daily cron from running on a daily basis try enabling errors under Setup > General Settings > Other > Display errors and then go into your servers terminal window and then run php -q /home/mmdnetwo/whmcsdata/crons/cron.php -F all -vvv Review the logs and see if there are any error messages. 0 Quote Link to comment Share on other sites More sharing options...
Jessie Abernathy Posted October 12, 2018 Author Share Posted October 12, 2018 Ok awesome ill get back to you with what the log says .. 0 Quote Link to comment Share on other sites More sharing options...
Jessie Abernathy Posted October 12, 2018 Author Share Posted October 12, 2018 Ok, so I don't know if Im able to access my server on a terminal, but my webhost did run the command for me i believe and got back to me with the results --> see attached screen shots I'm assuming that's the output from running the command you gave me php -q /home/mmdnetwo/whmcsdata/crons/cron.php -F all -vvv 0 Quote Link to comment Share on other sites More sharing options...
Jessie Abernathy Posted October 12, 2018 Author Share Posted October 12, 2018 I believe the problem is solved as I have no more errors in my dashboard that "Need Attention" 🙂 well, it says 1 thing needs attention but when I click "View Issues" it says "Looking Good!" 0 Quote Link to comment Share on other sites More sharing options...
ChristianB Posted November 15, 2018 Share Posted November 15, 2018 On 10/12/2018 at 10:53 AM, WHMCS ChrisD said: @Jessie Abernathy there are two separate crons, a daily cron and a five-minute cron, its possible that something is preventing your daily cron from running on a daily basis try enabling errors under Setup > General Settings > Other > Display errors and then go into your servers terminal window and then run php -q /home/mmdnetwo/whmcsdata/crons/cron.php -F all -vvv Review the logs and see if there are any error messages. Hi @WHMCS ChrisD, for the two separate crons, do I need to create 2 cron jobs,? 1 cron-job every 5 minutes, and another cron-job with same command (e.g. php -q /home/xxx/cron.php) or only one entry is enough as long as it is running every five minute? And another thing, I am currently running WHMCS 7.6.1, is the domainsync.php cron job is still needed? 0 Quote Link to comment Share on other sites More sharing options...
Vox Posted November 17, 2018 Share Posted November 17, 2018 (edited) Hi @ChristianB, On 11/15/2018 at 2:15 AM, ChristianB said: I am currently running WHMCS 7.6.1, is the domainsync.php cron job is still needed? No. https://docs.whmcs.com/Domain_Synchronisation Edited November 17, 2018 by Vox 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.