Guides & TutorialsCron & Automation TroubleshootingTroubleshooting the Cron Not Completing

Troubleshooting the Cron Not Completing

If you are not receiving the daily cron digest email or you're seeing a message such as the one below in Configuration > System Health (Help > System Health Status in WHMCS 7.10 and earlier), this usually indicates the cron is failing to complete successfully.

Verify the cron is running

Begin by navigating to Configuration > System Settings > Automation Settings (Setup > Automation Settings in WHMCS 7.10 and earlier) to verify the cron is running.

You will see three possible statuses. If the cron is being invoked, you will see a green Ok status indicator as below. If you see a Not Ok or Not Configured message, please refer to Verify your System Cron is being invoked

Verify the Daily Cron is starting

Begin by navigating to Configuration > System Logs (Utilities > Logs > Activity Log in WHMCS 7.10 and earlier).

Select Search/Filter (1) and then enter Cron Job: into Description (2). This will restrict the activity log entries to just those relating to the cron. Click Filter Log to perform the search.

The resulting list will show all cron related entries. If you do not see a Cron Job: Completed entry last of all, this indicates the cron is not reaching completion. The last entry in the log will indicate the point at which it is failing.

The next guide shows help to identify the cause of the cron failing to complete, obtaining this information will enable you to resolve the error and WHMCS technical support to assist you faster if needed.