WP-Cron Not Running: Scheduled Posts and Tasks Fail
Wp-cron not running wordpress: scheduled posts not publishing or automatic tasks stalled? Understand how WP-Cron really works, why it fails.
Wp-cron not running wordpress schedules: the symptom is late posts, never an error message.
You scheduled an article to publish at 08:05. The time passed, but the status still reads “Scheduled”, not “Published”. Meanwhile the automated report email never arrives, the daily backup stopped running, and a plugin that should clean temporary data appears to do nothing.
All of those symptoms trace back to one mechanism: WP-Cron. Many people assume it is a scheduler running like cron on a server. It is not, and that misunderstanding makes content scheduling look “stubborn” when the system is actually working as designed.
Short answer: WP-Cron only runs when a request reaches the site. If the site is rarely visited, or pages are served from cache without touching PHP, tasks queue up. Check whether tasks really were missed, run cron manually to prove the mechanism works, then for production move scheduling to a hosting cron that calls wp-cron.php every few minutes. Do not add another scheduling plugin before confirming that cron is not disabled by configuration or caching.
How WP-Cron actually works
WordPress has no background process running continuously. Every time a page loads, WordPress checks the list of scheduled tasks in the database. If something is due, it sends a “fire and forget” request to wp-cron.php, then serves the page anyway.
The consequences:
- A site with no visits runs no tasks. A new site, a staging site, or a site with low overnight traffic can be delayed for hours.
- Caching breaks the chain. If a page is served directly from cache or a CDN without touching PHP, the cron check never happens.
- Schedules depend on traffic. An 08:05 article only publishes when the first visitor after that time arrives.
- Long tasks get cut off. WordPress cron is bound by execution limits, so heavy jobs like large backups are often truncated.
This is not a bug; it is a design for shared hosting that does not allow background processes. The problem is that production requirements often demand precision this design cannot provide.
Wp-cron not running wordpress: Tell “late” apart from “not running”
Before changing anything, identify the symptom:
Late. The article publishes hours after its schedule, or right after you open the site yourself. That is normal WP-Cron behaviour on a quiet site, and the fix is a server cron.
Not running at all. Tasks never execute even when the site is busy. Usually DISABLE_WP_CRON is enabled without a replacement cron, or wp-cron.php is blocked by a security rule.
Running but failing. The task executes, then fails on a timeout, memory limit, or network access. The symptom is a task that keeps rescheduling itself without ever completing.
To tell them apart, open Tools → Site Health → Info and check the cron section, or use a cron management plugin to list tasks with their due times. If tasks show due times far in the past, cron is not being triggered. If a task keeps reappearing with a fresh due time, execution is failing.
Test manually before concluding
The fastest test is wp cron event run --due-now when WP-CLI is available. Every due task executes immediately, and you can see which one errors.
Without WP-CLI, visit https://yourdomain.com/wp-cron.php?doing_wp_cron in a browser. A blank response with status 200 means the mechanism is alive. A 403, 404, or a login page means something is blocking it.
After the manual test, check whether the article published. If it did, scheduling works and the only problem is the trigger. If it did not, the problem is in that task—post status, a wrong date, or a plugin holding publication.
Watch the timezone too. WordPress stores schedules in UTC while the site may display WIB. A seven-hour offset often makes people conclude an article is “late” when its schedule has not arrived.
Moving WP-Cron to a server cron
For production sites that need precision, this is the correct fix:
- Add
define('DISABLE_WP_CRON', true);towp-config.php. - Create a cron job in the hosting panel (or server) that calls
wp-cron.phpevery 5 minutes.
The command might be:
*/5 * * * * wget -q -O - https://yourdomain.com/wp-cron.php?doing_wp_cron >/dev/null 2>&1
Or with WP-CLI:
*/5 * * * * cd /path/to/site && wp cron event run --due-now >/dev/null 2>&1
A few important notes. Do not use intervals shorter than 5 minutes, since WordPress schedules are never tighter than that. Make sure the URL you call is not a cached copy; if a CDN serves a static version, the request never reaches PHP. And test again a few hours later: if cron is working, due tasks disappear from the list on a regular basis.
If the host provides no cron, consider an external scheduler that calls the URL. Keep in mind that the URL is publicly reachable and should not be given extra parameters that could be abused.
When something else disabled cron
Sometimes DISABLE_WP_CRON is already active but no replacement cron exists. This often happens after a migration: the constant is copied from staging while the server cron is never recreated on the new host.
The symptom is distinctive: every task is permanently pending, nothing runs even when the site is busy. Check wp-config.php for the constant, then ask the host whether they run cron for your site. If not, create one yourself or remove the constant so WP-Cron resumes.
Also check cron management plugins, because several add the same constant. Do not patch this with another plugin before verifying the existing configuration—stacking two cron managers usually produces duplicate tasks.
Scheduled post missed schedule: when the task itself fails
Cron that runs normally can still fail to execute tasks. Common causes:
- Execution limits cutting off large backups or imports.
- Memory exhaustion while processing lots of data.
- Network errors on tasks that call external APIs.
- Expired credentials on integrations, leaving the task failing.
- Plugin conflicts registering hooks with the same name.
Read the log after running cron manually. If you see “Maximum execution time exceeded”, that task needs splitting or a CLI runner. For heavy jobs, a server cron with WP-CLI is more reliable because it is not bound by web timeouts.
Impact on readers and SEO
Broken cron is not merely technical. The impact stacks up:
- Scheduled articles do not appear on time, wrecking the editorial calendar.
- The sitemap may list articles not yet published, or miss ones that are.
- Search engine notifications are delayed.
- Backups and cleanups stop, so data accumulates risk.
- Scheduled transactional email (digests, reminders) never sends.
For a site publishing daily, a delay of several hours affects reader expectations and schedule consistency. If you rely on automatic publishing, reliable cron is a requirement, not an extra.
Wp-cron not running wordpress: Distinguishing it from publishing problems
Sometimes cron runs fine but an article still does not publish. Check these before blaming cron:
- The post date is still in the future according to the site timezone.
- The post status is draft, not scheduled.
- The post has a past date but still reads “Scheduled” because cron has not processed it.
- An editorial plugin is holding publication for approval.
- A category or author is invalid, so the process fails.
If running cron manually leaves the post as scheduled with a past date, the problem is that post, not the scheduler.
Habits that prevent a repeat
A few small steps make scheduling dependable:
Wp-cron not running wordpress schedules is easy to miss because scheduled posts still appear, only later.
- Use a server cron for production rather than relying on visits.
- Monitor critical tasks with alerts if they have not run within a period.
- Avoid heavy jobs in web cron; move them to CLI.
- Document important schedules—backup, cleanup, reports—with an owner.
- Test after migrations, because cron configuration often does not move.
- Do not stack scheduling plugins; one manager is enough.
For sites under routine care, checking cron is part of a serious maintenance package. For comparison, other work that is often skipped appears in monthly website care, and when scheduling relates to how pages are delivered, see layout broken after enabling cache, since aggressive caching is often the hidden cause.
Wp-cron not running wordpress: what matters first
WP-Cron is not a real scheduler; it only runs when someone visits the site, so a quiet site or aggressive caching delays tasks for hours. Confirm the task was actually missed, then test by running cron manually before changing any server configuration. Wp-config.
Frequently asked questions
Can WP-Cron run without visitors? No, unless you move it to a server cron or external scheduler. Without an external trigger, tasks only execute when a request reaches the site.
Why does the article publish only after I open the site? Opening the site is what triggers the cron check. That is normal behaviour, and the fix is a server cron.
Is it safe to disable WP-Cron? It is safe when you set up a replacement cron. Disabling it without one stops every scheduled task entirely.
Can caching stop cron? Caching does not break cron, but it breaks the trigger. If every page is served from cache, PHP never runs and the cron check never happens.
If your publishing schedule has to be precise and must not depend on chance visits, a free audit can review your cron and cache configuration together. For sites publishing daily, this belongs in routine care.
Read next: WordPress Plugin Conflicts: How to Find the Culprit, WordPress Changes Will Not Save: Check the REST API, WordPress Menus and Widgets Missing After an Update.
Does any of this look like your website?
Tell us on WhatsApp. We look first, explain what needs fixing, then you decide. For a fuller picture, request the free audit.
Related articles.
WordPress Plugin Conflicts: How to Find the Culprit
Wordpress plugin conflicts diagnose: a feature breaks with no error message? Learn to isolate WordPress plugin conflicts safely.
WordPress Changes Will Not Save: Check the REST API
Wordpress changes will not save: edits vanish, the Save button does nothing, or you see 'Updating failed'?
WordPress Menus and Widgets Missing After an Update
Wordpress menus and widgets missing after update: navigation menu or widgets gone after a theme or WordPress update?