If WP-Cron is not working, it’s almost always one of 5 things: too few uncached page views to trigger it, a blocked loopback request to wp-cron.php, a leftover DISABLE_WP_CRON line, a fatal error inside one scheduled task, or a wrong timezone. Most sites fix it for good by switching to a real server cron that runs every 5 minutes.
You usually notice it the dull way. A scheduled post set for 9:00 AM still says “Missed schedule” at lunch. The backup plugin’s last run was four days ago. WooCommerce shows a pile of past-due actions and renewal emails never went out. None of those plugins is broken on its own. They all lean on the same small scheduler inside WordPress, and when that scheduler stops firing, everything downstream goes quiet at once.
This guide shows how WP-Cron actually decides when to run, how to test it in about 2 minutes, and which fix fits which cause.
Key Takeaways
- WP-Cron isn’t a real clock: It only runs when someone loads a page, so quiet or heavily cached sites miss their schedules.
- Test before you change anything: Site Health and a test post tell you in minutes whether cron is late, failing or blocked.
- Blocked wp-cron.php is common: Password protection, firewalls and security plugins often stop the loopback request.
- The lasting fix is a server cron: Disable the page-load trigger and call wp-cron.php every 5 minutes from the server.
How Does WP-Cron Actually Work?
WordPress has no background process watching the clock. According to the WordPress cron documentation, WP-Cron checks its list of scheduled tasks on every page load and runs whatever is due. If you schedule something for 2:00 PM and nobody visits until 5:00 PM, it runs at 5:00 PM. That’s by design.
Here’s what happens under the hood. When a visitor loads a page and a task is due, WordPress fires a quick background request from your server to its own wp-cron.php file. This is called a loopback request. It’s sent with a timeout of 0.01 seconds, so the visitor doesn’t wait for it, and WordPress sets a lock that lasts 60 seconds so two visitors don’t start the same batch twice.
So the scheduler only works when a real request reaches PHP, your server can call itself over HTTP and the task itself finishes without a fatal error, all at roughly the same moment. Break one of them and schedules slip.
Core ships with four recurrences: hourly, twice daily, daily and weekly (weekly arrived in WordPress 5.4). Plugins add their own, and some, like WooCommerce, run a separate queue on top of WP-Cron that we’ll get to later.
That design is fine for a busy blog with no page cache. It’s a poor fit for most business sites in 2026, though, which sit behind full-page caching and a CDN, so the majority of visits never touch PHP at all.
What Does It Look Like When WP-Cron Stops?
Missed scheduled posts are the symptom everyone searches for, but they’re only the most visible one. Cron also runs a lot of housekeeping you never see until it piles up.
- Missed schedule on posts: The post list shows “Missed schedule” in red next to a post whose time has passed.
- Backups that stop: Most backup plugins queue their daily run with WP-Cron, so a silent cron means a silent backup.
- Old update checks: “Last checked” on Dashboard > Updates is days old.
- WooCommerce past-due actions: Subscription renewals, follow-up emails and webhook deliveries sit in a queue.
- Bloated database: Expired transients and trashed items stop getting cleaned up. Over a few months the options table grows, autoloaded data gets heavier and every uncached page takes a little longer to build, which is how a cron problem quietly turns into a speed problem.
- Email digests: They go out late, or never.
If two or more of these show up together, you’re looking at a cron problem. Fixing each plugin separately just wastes an afternoon.
How to Test WP-Cron in 2 Minutes
Start with Tools > Site Health. WordPress runs its own scheduler check there. If an event is overdue, you’ll see “A scheduled event is late”, and if it’s more than 5 minutes overdue it becomes “A scheduled event has failed”. Both messages name the hook, which tells you which plugin is waiting.
In the same screen, look for “Your site could not complete a loopback request“. That one matters most. If WordPress can’t call its own URL, page-load cron can’t work, and the REST API and theme editor often fail too.
Then run the simple test post check. Create a draft post, schedule it 2 minutes ahead, and open the homepage in a private window once the time has passed. Refresh the posts list. Published means cron ran. “Missed schedule” means cron tried and didn’t get through, or never got a request that reached PHP.
If you have SSH access, WP-CLI gives you a cleaner picture in seconds:
wp cron test
wp cron event list --fields=hook,next_run_relative
wp cron event run --due-now
The first command checks whether the spawning system works. The second lists every scheduled hook with how long until (or since) it’s due, which is the fastest way to spot the one task that’s been stuck for a week while everything around it keeps moving. The third, documented under wp cron event run, runs everything that’s overdue right now. If due-now clears the backlog but the backlog returns tomorrow, your tasks are fine and the trigger is the problem.
Write down what you find before you fix anything. “Late but runs” and “never runs” are two different problems that point to very different causes, which is what the next section sorts out.
Why Is WP-Cron Not Running?
Most guides jump straight to “set up a real cron job“, and that’s often the right ending. But if the real cause is a blocked wp-cron.php file or a fatal error in one task, a server cron will hit the same wall every 5 minutes. Match the symptom first.
| What You See | Likely Cause | First Check |
|---|---|---|
| Tasks run, but hours late | Low traffic or full-page caching | Visit an uncached page, then recheck |
| Never runs, loopback test fails | wp-cron.php blocked by auth, firewall or security plugin | Open yoursite.com/wp-cron.php in a browser |
| Never runs, loopback passes | DISABLE_WP_CRON set with no server cron | Search wp-config.php |
| Runs on staging, not on live | Different cache or firewall rules | Compare server and CDN settings |
| One hook stuck, others fine | Fatal error inside that task | Check debug.log after a manual run |
| Posts publish at the wrong hour | Timezone mismatch | Settings > General > Timezone |
Low traffic and caching cause the “late but eventually runs” pattern. A cached page is served by Nginx, a caching plugin’s static file or a CDN edge, so WordPress never boots and never checks the schedule. On a small business site with 80 visits a day, almost all of them cached, the scheduler might wake up a handful of times a day. That’s the classic missed post at 9 AM that goes live when you log in at 11.
Blocked loopback requests cause the “never runs” pattern. The usual suspects are HTTP basic auth on the whole site (common on staging copies that later become live), a firewall rule that blocks requests from the server’s own IP, a security plugin that blocks direct access to PHP files, or a CDN rule that challenges requests to wp-cron.php. Some hosts also block the loopback at the network level. Open yoursite.com/wp-cron.php in a browser: a blank white page is normal and good. A login prompt, a 403 or a challenge page is your answer.
A leftover constant is the sneaky one. Someone added define( 'DISABLE_WP_CRON', true ); to wp-config.php during a migration or on a previous host that had a server cron set up. The site moved, the server cron didn’t, and nothing has run since.
A fatal error in one task looks different. The rest of the schedule moves, but one hook sits overdue forever, because the task crashes every time it starts. Turn on WP_DEBUG_LOG, run that hook manually with WP-CLI and read wp-content/debug.log. Often it’s a memory limit, which our guide to the WordPress memory limit covers, or a plugin that broke after an update.
Quick Fixes Worth Trying First
Some causes take a minute to rule out, so clear these before you touch the server. Each one is cheap and reversible.
- Check the timezone: Pick a city under Settings > General, not a UTC offset.
- Search wp-config.php for DISABLE_WP_CRON: If it’s set to true and there’s no server cron in your hosting panel, either delete the line or add the server cron now.
- Remove basic auth from live: If the live site still has a password prompt left over from staging, cron can’t reach itself. If you need the prompt, exclude wp-cron.php from it.
- Whitelist wp-cron.php: In your security plugin, firewall and CDN, allow requests to /wp-cron.php, especially from your server’s own IP.
- Run the overdue tasks once:
wp cron event run --due-nowor a plugin like WP Crontrol clears the backlog so you can see whether new tasks keep up.
The timezone point trips up more people than you’d think. UTC offsets don’t follow daylight saving time, so a post set for 9:00 can publish at 8:00 or 10:00 for half the year, and it looks exactly like a cron fault.
There’s also a constant called ALTERNATE_WP_CRON. Setting it to true makes WordPress redirect the visitor’s request through wp-cron instead of using a loopback. It works around a blocked loopback, but it adds a redirect for real visitors and still depends on traffic. Use it as a short-term patch while you sort out the real fix, not as the fix.
What about “missed schedule” plugins? They check for overdue posts on page loads and publish them. That treats one symptom (posts) and leaves backups, renewals and cleanup tasks exactly where they were.
Replace WP-Cron With a Server Cron Job
For most production sites, the lasting fix is to stop relying on visitors at all.
WordPress documents this approach in its guide to hooking WP-Cron into the system task scheduler. You turn off the page-load trigger and let the system scheduler call cron on a fixed timetable, which means a quiet Sunday night with zero visitors still gets its backup at 2 AM.
First, add this line to wp-config.php, above the “That’s all, stop editing!” comment:
define( 'DISABLE_WP_CRON', true );
Then add a cron job in your hosting panel or crontab. Running it through WP-CLI is the cleanest option because it skips HTTP entirely, so firewalls, caching and basic auth stop mattering:
*/5 * * * * cd /path/to/site && wp cron event run --due-now --quiet
If WP-CLI isn’t available, call the file over HTTP instead:
*/5 * * * * wget -q -O - https://example.com/wp-cron.php?doing_wp_cron >/dev/null 2>&1
Here’s how the four ways of triggering cron compare, so you can pick the one that fits your hosting.
| Trigger Method | Needs Visitors | Affected by Firewall or Auth | Best For |
|---|---|---|---|
| Default WP-Cron (page load) | Yes | Yes | Busy sites without page caching |
| ALTERNATE_WP_CRON | Yes | Less | Short-term patch for blocked loopbacks |
| Server cron calling wp-cron.php | No | Yes | Hosts without WP-CLI |
| Server cron running WP-CLI | No | No | Most production sites and stores |
How often should it run? Every 5 minutes suits almost every site. Every minute is reasonable for a busy WooCommerce store with lots of queued actions. Every 15 or 30 minutes, which some tutorials suggest, is too slow if you schedule posts for exact times or send time-sensitive emails.
Two cautions. Do this on the live server only, and check that your staging copy doesn’t also run a server cron against live tasks, because a staging site that sends real customer emails is a bad morning. And on WordPress Multisite, one cron call only covers one site, so you need a loop over every site in the network (WP-CLI’s wp site list makes that easy).
Once it’s in place, Site Health relaxes its thresholds automatically. With DISABLE_WP_CRON set, it only calls an event late after 15 minutes and failed after an hour, which matches a 5-minute server schedule comfortably.
WooCommerce and Action Scheduler Backlogs
WooCommerce doesn’t run all its background work through WP-Cron directly. It uses Action Scheduler, a queue that stores actions in its own database tables and processes them in batches. You’ll find it under WooCommerce > Status > Scheduled Actions, or Tools > Scheduled Actions on sites using it through another plugin.
By default, the queue runner is started by WP-Cron, plus an extra kick on admin requests. So when WP-Cron struggles, Action Scheduler struggles with it. The Action Scheduler FAQ is reassuring on one point: a few past-due actions are normal. It’s several past-due actions more than a day old that suggest something’s wrong.
- Pending piling up: Fix cron first.
- Failed actions: Open one and read the log line. It’s often an expired API key, a removed payment gateway or a fatal error in a plugin.
- Huge completed list: Action Scheduler keeps completed actions for about a month by default. On a busy store, that table can reach millions of rows and slow every query.
- Subscriptions: Renewal payments are scheduled actions. A stalled queue means revenue that doesn’t get collected, and customers who get a “payment failed” email days later than they should, if they get one at all.
If your store runs WooCommerce Subscriptions or memberships, a 1-minute server cron through WP-CLI is worth the setup. Our WooCommerce maintenance checklist includes checking this queue every month for exactly that reason.
Keep Scheduled Tasks Healthy After the Fix
Fixing cron once is easy. Knowing it broke again is the hard part, because a dead scheduler doesn’t throw an error page. The site looks perfect while nothing behind it runs.
Make Site Health part of your regular checks. If you look after several sites, a weekly glance at Tools > Site Health takes a minute per site and catches late events before customers notice. WP-CLI’s event list shows the same thing from the command line, which is handy on 20 sites.
Watch your backups too. A backup report that shows the last successful run is the best cron alarm you already have, since it fails the moment the trigger stops. If you’re not sure your backups are actually landing, our guide to backing up a WordPress site explains how to check a restore, not just a file list.
And keep an eye on the changes that break cron: moving hosts, adding a CDN or firewall, switching caching plugins, putting basic auth on a site, or copying wp-config.php from somewhere else. After any of those, run the 2-minute test post again. It’s boring. It also saves the “why didn’t my 6 AM sale email go out?” call.
How Webueno Handles WP-Cron Problems
At Webueno, cron problems usually arrive as something else: a client asking why their scheduled post didn’t go live, why WooCommerce renewals failed or why the backup is old. Our WordPress troubleshooting team starts by finding the root cause rather than installing a “missed schedule” plugin on top of it.
- Diagnosis: We read Site Health, the cron event list and the server logs to see whether cron is late, blocked or crashing on one hook.
- The fix: Usually a server cron, a firewall or cache exception for wp-cron.php, or a fix to the task that’s failing. Server-related troubleshooting is part of the service.
- Testing: We confirm scheduled posts publish on time and queued actions clear before we close the ticket.
- Visibility: Every hour is tracked, with screenshots every 10 minutes.
Work is billed in credits: 1 credit is 1 hour at $42, bundles save up to 21%, and there are no contracts. If you’d rather not think about schedules again, our WordPress maintenance plans (Daily at $60, Weekly at $20 or Monthly at $10 per site) handle updates with a visual check and form test after each one, and managed hosting runs each site on its own DigitalOcean VPS with dedicated resources.
Agencies can run all of this white-label under their own brand and set their own margin on top.
Get Your Schedule Back on Time
If you only do one thing today, open Site Health and schedule a test post 2 minutes ahead. That tells you which kind of problem you’ve got. Late tasks point to traffic and caching, so a server cron fixes them. Tasks that never run point to something blocking wp-cron.php or a crashing hook, and that needs fixing first.
Don’t want to dig through wp-config.php and crontabs yourself? Create your Webueno account and open a troubleshooting ticket. We’ll find why cron stopped, fix it and tell you exactly what changed.
Frequently Asked Questions
These are the questions site owners ask most once they realise WP-Cron is behind their missed posts and late tasks.
Is It Safe to Disable WP-Cron?
Yes, as long as you replace it with a server cron in the same step. Setting DISABLE_WP_CRON to true without a server cron stops every scheduled task on the site, including backups and update checks.
Why Do My Scheduled Posts Say Missed Schedule?
The publish time passed and WP-Cron didn’t run the task in time. The usual causes are low uncached traffic, a blocked wp-cron.php request or a wrong timezone setting.
How Often Should a Server Cron Job Run?
Every 5 minutes fits most sites. Busy WooCommerce stores with subscriptions can run it every minute, and anything slower than 15 minutes makes scheduled posts noticeably late.
Does Caching Break WP-Cron?
Full-page caching doesn’t break it, but it starves it. Cached visits never reach PHP, so WordPress gets fewer chances to check its schedule. A server cron removes that dependency.
Can a Plugin Fix Missed Scheduled Posts?
A missed-schedule plugin can publish overdue posts, but it doesn’t help backups, WooCommerce actions or cleanup tasks. Fix the trigger instead and every scheduled task benefits.
What Is ALTERNATE_WP_CRON?
It’s a wp-config.php constant that runs cron through a redirect of the visitor’s request instead of a loopback. It helps when loopbacks are blocked, but it’s a temporary workaround, not a replacement for a server cron.