Skip to content
FunnelGuard

Fix guide by FunnelsGuard

WP-Cron not running: fix missed scheduled posts and emails

OPS-245Medium impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

WP-Cron is the task scheduler inside WordPress. Core, plugins and themes use it to publish scheduled posts, send queued emails, run backups, clear caches, renew licences and retry failed jobs. Despite the name, it is not a true cron job. It does not run on a clock. WordPress checks for due tasks when a page is loaded, then starts them with a background request to wp-cron.php.

Why it costs you leads or sales

Anything timed by WordPress quietly stops. A launch post or sale page does not go live on time. Abandoned-cart or follow-up emails sent by a plugin never leave the queue. Booking reminders, WooCommerce subscription renewals, scheduled sales prices and form-plugin retries can all be delayed. Nothing shows an error on the front end, so the loss goes unnoticed until a customer or a campaign result points to it.

How a missed cron run loses a lead
  1. Visitor submits formLead is saved and an email job is queued
  2. WP-Cron wakes upLoopback request to wp-cron.php is blocked or cron is disabled
  3. Queued email sentJob stays in the queue
  4. Lead replies or buysNever happens, the lead goes cold

The visitor submits a form, but the follow-up email depends on a scheduled task that never runs.

Delay before a queued email is sentExample numbers
Delay before a queued email is sent (example)Real server cron (every 5 min): 5 minutes; WP-Cron, busy site: 10 minutes; WP-Cron, quiet site: 120 minutes; WP-Cron blocked: 1,440 minutes05521,1045101201,440Real server cron (eve…WP-Cron, busy siteWP-Cron, quiet siteWP-Cron blockedminutes

Example: illustrative delays for a low-traffic site with a task due at 09:00. Real numbers depend on your traffic and setup.

How to check if your site has it

Look for these signs first: posts marked Missed schedule under Posts, emails arriving late in bursts, and Site Health warnings such as 'The scheduled event has failed' or a loopback request error. Then confirm with one of the checks below.

Check WP-Cron health
  1. Open Site HealthWordPress

    Go to Tools > Site Health > Status. Look for failed loopback requests or scheduled events that are late.

  2. Check wp-config.php

    Search for DISABLE_WP_CRON. If it is set to true, WordPress will not start cron on page loads and a server cron job must exist.

  3. List events with WP-CLI

    Run wp cron event list. Events whose next run time is far in the past are overdue. Run wp cron event run --due-now to test that they can run.

  4. Request wp-cron.php directly

    Open https://yoursite.com/wp-cron.php in a browser. A blank page with status 200 is normal. A 401, 403, 404 or 500 means something is blocking it.

  5. Check for blocks

    Look at basic authentication, maintenance mode, firewall or security plugin rules, and host-level bot protection that may reject requests to wp-cron.php.

How to fix it

The most reliable fix is to stop depending on visitors. Turn off the page-load trigger and run wp-cron.php from a real scheduled job every 5 minutes. Step 1 and step 2 must go together, or nothing will run.

wp-config.php: disable the page-load triggerphp
define( 'DISABLE_WP_CRON', true );
Set up a real cron job
  1. Add the constant

    Edit wp-config.php above the line 'That's all, stop editing' and add define( 'DISABLE_WP_CRON', true );.

  2. Schedule the job in your host panel

    In cPanel use Cron Jobs; Plesk uses Scheduled Tasks. Many managed hosts have a cron or scheduler setting. Set it to run every 5 minutes with the command in the code block below.

  3. Fix blockers

    Allow requests to wp-cron.php in your security plugin or firewall, and remove basic authentication from it.

Crontab entry (every 5 minutes), WP-CLI versionbash
*/5 * * * * cd /var/www/html && wp cron event run --due-now >/dev/null 2>&1
Crontab entry (every 5 minutes), no WP-CLIbash
*/5 * * * * curl -s https://example.com/wp-cron.php?doing_wp_cron >/dev/null 2>&1

How to confirm it's fixed

Confirm WP-Cron works
  • wp cron event list shows next run times in the near future, not the past
  • Site Health no longer reports loopback or scheduled event errors
  • A test post scheduled 10 minutes ahead publishes on time
  • Queued emails (for example a form notification or follow-up) arrive within a few minutes
  • Visiting /wp-cron.php returns status 200

How to prevent it happening again

Keep scheduled tasks healthy
  • Keep a real server cron job in place and document it for the next developer
  • After migrations, host changes or new security rules, recheck the cron job and /wp-cron.php
  • Exclude wp-cron.php from basic authentication, maintenance mode and aggressive firewall rules
  • Review Site Health after plugin and core updates
  • Test a scheduled post or a timed email on a regular basis

How FunnelGuard handles this

FunnelGuard detects this only partly. It does not read your WP-Cron queue, list scheduled events or see your server cron setup. It also cannot tell that a scheduled post was missed. What it does check is the visible result of your journeys: that lead forms and checkouts work, tracking hits reach ad and analytics platforms, and that test leads reach your inbox and CRM. If a broken cron job delays or stops an email in that path, a test lead that does not arrive can raise an alert with a screenshot and a likely cause.

To cover the rest by hand, check Tools > Site Health, run wp cron event list, and schedule a test post every so often. You can start with a free audit or the Free plan (1 site, 2 journeys, daily checks, no card), then add paid plans with a 3-day free trial if you need more journeys.

Frequently asked questions

See the questions below for quick answers about WP-Cron.

Questions people ask

Why is my WordPress scheduled post missing its schedule?

WP-Cron only runs when someone visits the site, and it can be blocked by a firewall, basic authentication or a disabled setting. If no visitor triggers it at the right time, the post shows 'Missed schedule'. Set up a real server cron job that calls wp-cron.php every 5 minutes.

How do I know if WP-Cron is working?

Run wp cron event list and check that next run times are in the future. Also open Tools > Site Health for loopback or scheduled event errors, and visit /wp-cron.php to confirm it returns status 200.

How do I replace WP-Cron with a real cron job?

Add define( 'DISABLE_WP_CRON', true ); to wp-config.php. Then create a server cron job that runs every 5 minutes and calls either wp cron event run --due-now or the wp-cron.php URL. Do both, or tasks will stop.

Is it safe to set DISABLE_WP_CRON to true?

Yes, but only if a real cron job runs wp-cron.php. Without one, scheduled posts, emails and backups never run. It is a common performance and reliability setup when done together.

Why does wp-cron.php return a 403 or 401 error?

Something is blocking the request, often a security plugin, firewall rule, host bot protection or basic authentication on the site. Allow wp-cron.php through, or use WP-CLI from the server instead.

Can WP-Cron stop emails from being sent?

Yes. Plugins that queue emails, such as follow-ups, reminders and some form add-ons, rely on WP-Cron to send them. If it stops, the queue builds up and the emails arrive late or not at all.

Does FunnelGuard monitor WP-Cron?

Only partly. It does not read your cron queue, but it can notice when a test lead or email does not arrive. Check Site Health and your event list by hand for the rest.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.