Jump to content

The system cron does not appear to have completed successfully within the last 24 hours.


krokos

Recommended Posts

Although the report in the Automation settings looks OK (green, cron run OK) the System Health report states that the cron has not completed successfully. 

However, I am getting email notifications every morning meaning that the cron has, indeed, been executing. 

I have moved the cron folder outside the web folder but it is properly set and works OK.

Current Version: 7.6.0

Link to comment
Share on other sites

  • WHMCS Support Manager

Hi @krokos,

The green status badge in the Automation Settings page indicates that that the cron.php script was touched in the past 24 hours.

The error on the System Health Status page indicates that not all parts of the daily automation tasks completed. Typically this is the backup process which fails due to hitting the PHP memory limit.

 

Please begin by reviewing Utilities > Logs > Activity Log and ensure you see a number of entries beginning "Cron Job" and "Automated Task" each day. The final entry every day should be "Cron Job: Completed Daily Automation Tasks".

If you see some Cron Job entries but no "Cron Job: Completed Daily Automation Tasks" 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. Then see if things improve and you start getting the cron job report again over the next few days.

Link to comment
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.

Guest
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.

  • 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