Edrick Posted March 3, 2019 Share Posted March 3, 2019 So according to the cron status on the automation page the cron is successfully running and it updates every 5 minutes showing that. However the dashboard says automation was never run and it needs attention? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted March 3, 2019 Share Posted March 3, 2019 Hi Edrick, The cron runs once a day for a number of tasks, and other parts on a more frequent basis, as outlined at https://docs.whmcs.com/Crons#Task_Options_for_skip_.26_do I'd recommend that you login to your area then go to Setup > General Settings > Other and enable DIsplay Errors & Log Errors. Once done go into your server terminal window and execute the following command (update with your path) Quote */5 * * * * php -q /home/username/crons/cron.php -F all -vvv Review the output and check if there are any errors on-screen, you can find more information on troubleshooting at https://help.whmcs.com/m/64751/l/683269 0 Quote Link to comment Share on other sites More sharing options...
Edrick Posted March 3, 2019 Author Share Posted March 3, 2019 15 hours ago, WHMCS ChrisD said: Hi Edrick, The cron runs once a day for a number of tasks, and other parts on a more frequent basis, as outlined at https://docs.whmcs.com/Crons#Task_Options_for_skip_.26_do I'd recommend that you login to your area then go to Setup > General Settings > Other and enable DIsplay Errors & Log Errors. Once done go into your server terminal window and execute the following command (update with your path) Review the output and check if there are any errors on-screen, you can find more information on troubleshooting at https://help.whmcs.com/m/64751/l/683269 Hi, So it seems that it was probably just because the 9am automation hadn't run. Because sure enough this afternoon when looking it said it was successfully ran at 9am. Where as the automation page was reporting the cron job successfully running every 5 minutes. So it seems that I had to wait until the 9am automation task ran for it to update the dashboard 0 Quote Link to comment Share on other sites More sharing options...
steven99 Posted March 4, 2019 Share Posted March 4, 2019 (edited) Just for anyone else, you can get this mismatch and the "cron hasn't run in 24 hours" error if the daily cron doesn't complete because of a fatal error. For me that typically happens on usage updates . Edited March 4, 2019 by steven99 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.