trewhost Posted December 13, 2016 Share Posted December 13, 2016 System Cron Tasks Not working showing error I added c panel also. I am using WHMCS 7.0.2 Updated. What is missing ? Please help me any one. I attached screenshots 0 Quote Link to comment Share on other sites More sharing options...
Administrators WHMCS John Posted December 24, 2016 Administrators Share Posted December 24, 2016 Hi, The screenshots show that the cron was invoked, but did not complete. Begin by reviewing Utilities > Logs > Activity Log and ensure you see a number of entries beginning "Cron Job" each day. The final entry every day should be "Cron Job: Completed". * If you see no Cron Job entries at-all this means you have not configured your automation cron correctly, you must do this per our installation instructions. The relevant documentation can be found at http://docs.whmcs.com/Crons * If you see some Cron Job entries but none after "Cron Job: Running Usage Stats Update" your cron is getting stuck at the Usage Stats Update stage. The most likely cause of this error is that you have an old server in Setup > Servers that is no longer available. To resolve this, you should update or remove any inactive or offline servers from Setup > Servers so that they can all be connected to successfully. Or alternatively Update Usage Statistics can be disabled under Setup > Automation Settings. * Finally, if you see some Cron Job entries but no "Cron Job: Completed" entry this suggests the cron is being terminated prematurely by your server. Please increase the memory_limit and max_execution_time settings in your server's php.ini to 64M or 128MB which should easily be sufficient. Then see if things improve and you start getting the cron job report again over the next few days. If the cron still doesn't complete with the increased memory limit and execution time please run the following command from the server's command line interface/SSH: php -q /path/to/cron.php debug Replace /path/to/ with the actual path to your cron.php file. This should then output some data for us to review. We have collected some of the most most common errors and their causes, refer to the appropriate page in the following sections: * http://docs.whmcs.com/Server_Modules * http://docs.whmcs.com/Domain_Registrars * http://docs.whmcs.com/Common_Troubleshooting_Tips#Server_Errors 0 Quote Link to comment Share on other sites More sharing options...
trewhost Posted December 25, 2016 Author Share Posted December 25, 2016 Hi Hi John, Now I am trying again followed by your instruction now working successfully. 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.