Jump to content
Sign in to follow this  

System Cron Tasks Not working showing error. Please help me

Recommended Posts

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





Share this post

Link to post
Share on other sites


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

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated