Resolve cron has run within the last 24 hours message
If you receive an email that looks like the following, then read on.
The cron has run within the last 24 hours.
To force the cron to run all operations immediately,
please invoke with the following arguments "all --force".
This message should not occur in WHMCS Version 7.1 or above.
Verifying the cron.php file is up to date
Open your FTP client and locate the cron.php file in your /crons directory.
![](https://media.screensteps.com/image_assets/assets/000/275/802/original/8935b4b7-f28c-49e4-afe4-d447bb780c34.png)
Open the file.
The top three lines should look like this:
<?php //00ee8
// *************************************************************************
// * *
// * WHMCS - The Complete Client Management, Billing & Support Solution *
// * Copyright (c) WHMCS Ltd. All Rights Reserved, *
// * Version: 7.1.0 (7.1.0-release.1) *
However if the Version value shows a lower number (eg. 7.0.2), this means your cron.php file is out of date.
Updating the cron.php file
If your cron.php file is out of date, this can corrected by uploading the latest version.
In your WHMCS admin area, navigate to Utilities > Update WHMCS and take note of your current software version number:
![](https://media.screensteps.com/image_assets/assets/000/275/798/original/bfcf4480-5b4a-4366-9974-e531b2db526e.png)
Visit http://download.whmcs.com
Download the Full Release file which matches to the version number from above.
From the zip file, extract the /crons directory somewhere easy to find like your computer's Desktop.
Using your FTP program, upload the contents of the /crons directory, overwriting the existing files. This can be easy to overlook if you have customised the directory location.
Your cron.php file is now up-to-date and the message will no longer be displayed in WHMCS version 7.1 or above.