Why your WordPress cron silently fails (and the WP-CLI check)
WordPress cron does not run on a clock. It runs on visits. Read that again, because half of WordPress’s silent failures live in that one sentence.
WP-Cron fires when somebody loads a page. No traffic, no trigger. Low traffic at 3am, no trigger. A caching layer that serves pages without ever touching PHP, no trigger. Your scheduled email, your renewal reminder, your sync job — all sitting in a queue, waiting for a visitor who never comes.
I have watched this fail on real sites in the most embarrassing way possible: everything looks fine in wp-admin, the event is scheduled, the next run time is in the past, and nobody noticed for weeks because nothing errors. Silence is the failure mode.
What WP-Cron actually is
WP-Cron is not cron. Real cron is the server’s scheduler — it runs at a time whether or not anyone is awake. WP-Cron is a checklist WordPress runs through on page load: anything due? Run it now, in the background, while serving the page.
That design is fine for a small blog. It breaks the moment the site does real work: WooCommerce renewals, membership emails, catalogue syncs, form notifications, scheduled publishing at scale. The more the business depends on scheduled jobs, the less you can depend on visitors to trigger them.
And caching makes it worse. A well-cached site can serve hundreds of visits without PHP ever running. Your cron events starve while your performance scores look great.
The symptoms (before anyone admits it is cron)
- Order emails arrive late, or in a burst at 9am when the first real traffic lands.
- A scheduled post publishes hours late.
- A sync job “sometimes works” — it works when the site is busy, fails when it is quiet.
- A plugin’s scheduled task shows a next-run time in the past.
- The client says “the site didn’t send the email” and support says “it works on my machine.”
If any of those sound familiar, do not debug the email plugin first. Check whether cron ran at all.
The WP-CLI checks
This is a two-minute diagnosis. Run these on the server, not in wp-admin:
wp cron event list — shows every scheduled event and its next run time. Anything with a next run in the past is already evidence.
wp cron event run --due-now — runs what is due, right now, and shows you the errors instead of swallowing them into a log nobody reads.
wp cron test — confirms the cron system itself can spawn its background request. If this fails, your events are not the problem. The loopback is.
And the check that matters most on a cached site: wp cron event list --fields=hook,next_run_relative after a quiet hour. If nothing moved, your visitors are not triggering anything — or your cache is serving them before WordPress wakes up.
The fix: real cron, once, properly
Disable WP-Cron’s visit-triggered behaviour and hand scheduling to the server. In wp-config.php:
define('DISABLE_WP_CRON', true);
Then a real system cron entry, every five minutes, hitting wp-cron.php — or better, wp cron event run --due-now via WP-CLI if your host allows it. Five minutes is the honest interval: frequent enough that nothing waits long, calm enough that it never hammers the server.
Two warnings. First, do this on staging first and watch the event list for a day — a job that was silently failing can suddenly start running twice if it was also half-triggered by traffic. Second, never set the interval to every minute “to be safe.” A five-minute job that takes six minutes to run will overlap itself, and overlapping sync jobs are how you get duplicate orders and duplicate emails.
What not to automate around it
Do not install a “cron manager” plugin and call it fixed. A plugin that lists events is a dashboard, not a scheduler. It still depends on the same visit trigger.
Do not add a third-party uptime monitor hitting the homepage every minute to “keep cron alive.” It works, technically, and it is the most fragile fix on this page — one monitor outage and your renewals stop again.
And do not let a developer tell you cron is fine because the site gets traffic. Traffic is not a schedule. A schedule is a promise with a time on it.
A practical starting path
- Run
wp cron event listand write down anything overdue. - Run
wp cron testand fix loopback failures first. - Switch to real server cron at five minutes, staging first.
- Watch the event list for 48 hours. Anything still overdue after that is a broken job, not a broken scheduler — and now you can see it.
- Put the cron check in your deploy checklist, next to the cache purge. A deploy that resets the schedule without anyone noticing is the same bug wearing a different hat.
The client-facing reason this matters
Clients do not buy cron. They buy the email arriving, the renewal processing, the sync completing. When scheduled work fails silently, the client experiences it as your product being unreliable — and they are right.
A real scheduler is boring infrastructure. Boring infrastructure is what makes everything else trustworthy.
Want this energy on your codebase?
Need custom WordPress architecture, performance work, integrations, or team lead support? Start a conversation.