About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.
Site Health in WordPress 6.7.1 shows "A scheduled event has failed" when a WP-Cron event is more than 300 seconds past its due time and has not run. If DISABLE_WP_CRON is set to true the limit is 3,600 seconds. The message names the event's hook and says "Your site still works", and the label counts overdue time, not an error inside the event. Our own reading: the usual cause is that nothing triggered WP-Cron, so our own advice is a system scheduler job that requests wp-cron.php on a timetable.
What the error means
The Plugin Handbook explains that "WP-Cron works by checking, on every page load, a list of scheduled tasks to see what needs to be run." It adds that "WP-Cron does not run constantly as the system cron does; it is only triggered on page load." and that "Scheduling errors could occur if you schedule a task for 2:00PM and no page loads occur until 5:00PM."
In WordPress 6.7.1 a page load that finds a due event calls spawn_cron(), which sends a non-blocking POST to wp-cron.php with a 0.01 second timeout. A transient named doing_cron stops a second run starting within WP_CRON_LOCK_TIMEOUT seconds. The code comment calls it "more than once every 60 sec" and the wp-config page sets the constant to 60 in its example.
Setting DISABLE_WP_CRON to true stops that page-load trigger. The wp-config page says "Disable cron entirely by setting DISABLE_WP_CRON to true." Events then run only if something else requests wp-cron.php.
The Site Health test compares each event's due time with the current time:
| Setting | "A scheduled event is late" | "A scheduled event has failed" |
|---|---|---|
DISABLE_WP_CRON not set |
overdue by more than 0 and up to 300 seconds | overdue by more than 300 seconds |
DISABLE_WP_CRON true |
overdue by more than 900 and up to 3,600 seconds | overdue by more than 3,600 seconds |
With the constant set to true, an event overdue by 900 seconds or less is not reported at all. A site with no events at all gets a different message: "It was not possible to check your scheduled events", followed by "No scheduled events exist on this site."
Likely causes
Rows 1, 4 and 5 are our own reading of the code and handbook; the thresholds above are what the code prints.
| Cause | What you see | How to confirm |
|---|---|---|
| Few page loads, or pages served from a cache that never starts WordPress | Events overdue by minutes to hours on a quiet site | wp cron event list shows due times well in the past, and the site gets little traffic |
DISABLE_WP_CRON is true and no system job requests wp-cron.php |
Failed after more than 3,600 seconds overdue | The constant is in wp-config.php and the system scheduler has no such job |
The request to wp-cron.php cannot complete |
Site Health also shows "Your site could not complete a loopback request" | See the loopback entry on the same Status tab |
| A system job exists but does not run, or runs with the wrong address | Same overdue events with the constant set | The job's address, schedule and user are wrong; see "A system job already exists" under Fix |
| A hook runs for a long time or stops the run, and later events wait | One hook overdue repeatedly, others behind it | The hook named in the message is the earliest overdue event in the list |
| Orphaned events left by code that no longer exists | The same hook is named after every run | No installed plugin owns the hook |
A comment in the source says that events not running "may indicate something with WP_Cron is not working as intended, or that there are orphaned events hanging around from older code."
Prove the cause before changing anything
All of these steps only read.
- Go to Tools > Site Health > Status and expand "A scheduled event has failed" or "A scheduled event is late". Write down the hook name in the sentence "The scheduled event, " followed by the name.
- Open
wp-config.phpand search forDISABLE_WP_CRONandALTERNATE_WP_CRON. Write down whetherDISABLE_WP_CRONis true. - List the events and find the hook from step 1. WP-CLI's
wp cron event listshows each hook with its next run in UTC.
wp cron event list
next_run_gmt is a date and time in UTC. Compare the hook's value with the current UTC time. The difference in seconds is its overdue time.
- Look at the Status tab for "Your site could not complete a loopback request". If it appears, solve it first with WordPress Site Health "Your site could not complete a loopback request": read the result, then find what blocks the request.
- If the constant is true, read the server's scheduler. The Plugin Handbook says cron is "typically access from the terminal with the crontab -e command" on Linux, and that Windows uses Task Scheduler. On Linux, the
-loption ofcrontabwrites the user's crontab entry to standard output, so it only reads. Look for a job that requestswp-cron.phpand note its address and interval.
crontab -l
Fix
Choose the route that matches what you proved.
WP-Cron starts only on page loads
The handbook's remedy is to schedule a system job that requests wp-cron.php, then disable the page-load trigger. Do the two steps in this order, so that events are never left without a trigger. The handbook also notes "many hosting services are shared and do not provide access to the system scheduler", in which case the host's control panel or support is the route.
Step 1: add the system job. First save the current state: write the current crontab entry to a file named crontab.2026-12-04.txt, and write down the current time.
crontab -l > crontab.2026-12-04.txt
Risk: the next edit makes the server request wp-cron.php every 15 minutes. Each request starts every event that is due, so heavy tasks then run on that timetable. A wrong address means the job runs and starts nothing, and if step 2 follows, no event runs at all.
Run crontab -e, add this line in the editor and save. It is the handbook's wget form with its */15 interval; the https address is ours.
*/15 * * * * wget --delete-after https://www.example.com/wp-cron.php
To undo it, only if you need to back out: install the saved file as the crontab entry. The new job, and anything added to the crontab since the copy, is lost. If step 2 has been done, no event will run until the page-load trigger is restored.
Risk: the next command replaces the whole crontab entry with the contents of crontab.2026-12-04.txt.
crontab crontab.2026-12-04.txt
Then check that the entry matches the saved file.
crontab -l
Step 2: disable the page-load trigger. First save the current state:
cp -p wp-config.php wp-config.php.2026-12-04
Risk: the next edit stops WordPress starting events on page loads. From that moment only the system job from step 1 starts them, so if that job is missing or wrong, scheduled posts, update checks and plugin tasks stop. The Site Health limits also move to 900 and 3,600 seconds.
Add the handbook's line to wp-config.php.
define( 'DISABLE_WP_CRON', true );
To undo it, only if you need to back out: copy the saved file back. The change and any other edit made to wp-config.php since the copy are lost.
Risk: the next command overwrites wp-config.php with the copy saved before the change.
cp -p wp-config.php.2026-12-04 wp-config.php
Then reload Tools > Site Health > Status and check the scheduled events entry.
The request to wp-cron.php fails
Fix the loopback result first, as in step 4 above. A system job calls the same file, so a rule that blocks it blocks the job too.
A system job already exists
The job is the thing to repair. Cron job works when run by hand but not from cron: environment, percent signs and missing output covers why a job that works at the prompt does nothing under cron.
One hook is always overdue
The hook name from step 1 shows which plugin schedules the event. If no installed plugin owns it, it is the orphaned case from the causes table. No step for removing an event is given here.
Example (illustrative): on web01, www.example.com has define( 'DISABLE_WP_CRON', true ); in wp-config.php and no system job. Site Health shows "A scheduled event has failed" with the hook wp_version_check. wp cron event list shows its next_run_gmt as 12:00:00 on 4 December 2026, and the time now is 13:30:00 UTC. The overdue time is 1 hour 30 minutes, which is 90 × 60 = 5,400 seconds. That is above the 3,600 second limit for a site with the constant set, so the event is reported as failed. The administrator adds the 15-minute job from step 1, and the event runs at the next quarter hour.
Confirm the fix
- After the job has run once, run
wp cron event listagain. The hook'snext_run_gmtshould be in the future. - Reload Tools > Site Health > Status. The entry should move to the passed tests with the label "Scheduled events are running".
What to watch afterwards
- A job that requests
wp-cron.phpmore often than every 60 seconds is skipped while thedoing_cronlock holds. - After a hosting move or an address change, update the job's address. A job pointing at the old address fails without any WordPress message.
- Check Site Health after plugin updates. A new plugin may schedule heavy events that need a shorter interval.
Read next
Related articles you may want next.
- HostingWordPress Site Health "Your site could not complete a loopback request": read the result, then find what blocks the requestWordPress Site Health says your site could not complete a loopback request. Read the error or status, test wp-cron.php from the server, then fix the cause.Read article
- TroubleshootingCron job works when run by hand but not from cron: environment, percent signs and missing outputCron job not running but the command works in your shell? Check the environment, unescaped % signs, crontab file rules and where the output goes.Read article
- HostingWooCommerce "past-due actions found; something may be wrong": Action Scheduler is not running its queueWooCommerce shows Action Scheduler: N past-due actions found; something may be wrong. Test WP-Cron, check the runner, then clear the backlog with WP-CLI.Read article
Risks and limits
- These commands have not been run or lab-tested.
- The thresholds are from WordPress 6.7.1 source. Other versions may use other numbers.
- The
wgetform is the handbook's. Another tool or an address with HTTP authentication needs its own testing. - "Failed" means overdue, not that the event's own code raised an error.
Sources
- class-wp-site-health.php (WordPress 6.7.1) — WordPress core source at tag 6.7.1, no date shown, accessed 4 December 2026
- cron.php (WordPress 6.7.1) — WordPress core source at tag 6.7.1, no date shown, accessed 4 December 2026
- wp-cron.php (WordPress 6.7.1) — WordPress core source at tag 6.7.1, no date shown, accessed 4 December 2026
- Cron — Plugin Handbook, WordPress developer resources, 14 December 2023, accessed 4 December 2026
- Hooking WP-Cron Into the System Task Scheduler — Plugin Handbook, WordPress developer resources, 20 March 2025, accessed 4 December 2026
- Understanding WP-Cron Scheduling — Plugin Handbook, WordPress developer resources, 17 November 2022, accessed 4 December 2026
- Testing of WP-Cron — Plugin Handbook, WordPress developer resources, 9 July 2022, accessed 4 December 2026
- Editing wp-config.php — WordPress developer resources, 14 October 2026, accessed 4 December 2026
- wp cron event list — WP-CLI Command, no date shown, accessed 4 December 2026
- crontab — The Open Group Base Specifications Issue 7, 2018 edition, no date shown, accessed 4 December 2026
- cp — The Open Group Base Specifications Issue 7, 2018 edition, no date shown, accessed 4 December 2026
This article was originally published on .