Cron Time of Day Issues
On this page
Problem
You see a warning at Configuration () > System Settings > Automation Settings or receive the following WHMCS Daily System Cron Attention Needed email:
Your WHMCS is configured to perform the Daily System Cron during the hour of 9 am.
However, the Daily System Cron did not execute within that hour as expected.
This may be due to the scheduled time specified in your web hosting control
panel's cron entry. Please ensure your web hosting control panel executes the
WHMCS System Cron (cron.php) at least once during the hour of 9 am.
If you have confirmed that setting, and you continue to receive this message,
then please refer to the WHMCS Cron documentation to ensure you have itemized the
appropriate command and any additional options.
Please contact WHMCS Support if you require further assistance.
Cause
In many cases, this problem indicates an issue in the cron configuration.
Troubleshooting
The steps below check this in cPanel, but they are similar for most hosting control panels.
To check this:
- Log in to your web hosting control panel and navigate to the cron configuration. In cPanel, go to Home » Advanced » Cron Jobs.
- Find the WHMCS system cron command, which ends with
cron.php
. - Check the values for the cron command.
If the cron command does not run every five minutes, you will need to update it.
Solution
The steps below update this in cPanel, but they are similar for most hosting control panels.
To ensure a correct cron configuration:
In the hosting control panel’s cron configuration page, edit the WHMCS system cron command.
Update the configuration to use the following values:
Minute:
*/5
Hour:*
Day:*
Month:*
Weekday:*
Save your changes.
You may still receive additional copies of this email until the Time of Day hour that you specified at Configuration () > System Settings > Automation Settings (up to 24 hours after updating the configuration).
Last modified: September 10, 2024