WP cron not running: causes and how to fix it
WP-Cron is not a real scheduler: WordPress checks for due tasks only when a page loads, so scheduled posts and updates run late or never on low-traffic sites, cached sites or sites with DISABLE_WP_CRON set. The reliable fix is to disable page-load triggering and call WP-Cron from a system cron job.
- Tasks run only when a page loads, so timing depends on traffic.
- wp cron event list and wp cron event run --due-now show and run the queue.
- For client sites that must publish on time, use a system cron job instead.
Why does WP-Cron stop running?
| Cause | How to confirm | Fix |
|---|---|---|
| Low traffic | Missed schedules cluster in quiet hours | System cron |
| DISABLE_WP_CRON set to true with no system cron behind it | grep wp-config.php for the constant | Add the system cron job, or remove the constant |
| Page caching serves every visit | Pages load but no PHP runs | System cron |
| Loopback request blocked | Site Health reports a failed loopback or cron test | Fix firewall, basic auth or host rule blocking the site calling itself |
| A hung or long task | Events listed as due for hours while others do not run | Run due events by hand and find the failing hook |
WordPress describes WP-Cron as triggered "on page load" in the Plugin Handbook: Cron.
How do you diagnose it?
- 01
Check whether the constant is set
Look for DISABLE_WP_CRON in wp-config.php. If it is true, WordPress will not trigger cron itself, so something else must.
- 02
List scheduled events
Run wp cron event list. A pile of events with next_run_relative stuck at "now" means cron is not firing.
- 03
Run the due events by hand
Run wp cron event run --due-now. Errors it prints name the failing hook.
- 04
Check Site Health
Tools > Site Health reports failed scheduled-event and loopback tests.
- 05
Set up a system cron
Disable the page-load trigger and call wp-cron.php or WP-CLI on a schedule (below).
How do you replace WP-Cron with a system cron job?
define( 'DISABLE_WP_CRON', true );
# crontab: call wp-cron.php every 5 minutes
*/5 * * * * curl -s https://example.com/wp-cron.php?doing_wp_cron >/dev/null 2>&1
# or with WP-CLI (path to the WordPress root)
*/5 * * * * cd /var/www/example && wp cron event run --due-now >/dev/null 2>&1Syntax from the WP-CLI cron event run command. The 5-minute interval is a common choice, not a WordPress requirement. Several managed hosts already do this for you, so check before adding a second job.
Watch for the cost of missed schedules
A stalled cron shows up as late scheduled posts, missing backups or unsent emails, not as downtime. Keep a content or heartbeat check on the work the cron should produce, not only on the home page.
What should run reliably once cron is fixed?
- Scheduled posts publish on time
- Update checks run, since WordPress documents these as cron tasks
- Backup and caching plugins complete their scheduled jobs
- Order, membership and email queue plugins send on schedule
Common questions
Why is WP-Cron not running?
WP-Cron runs only when someone loads a page. Low traffic, full-page caching, a blocked loopback request, or DISABLE_WP_CRON set to true without a system cron all stop it. Run wp cron event list and look for events whose next run time stays at now.
Should I disable WP-Cron?
Disable the page-load trigger only if you replace it with a system cron job calling wp-cron.php or WP-CLI. Setting DISABLE_WP_CRON to true with nothing else leaves scheduled tasks unrun. Many managed hosts do the replacement for you.
How do I manually run WP-Cron?
With WP-CLI, run wp cron event run --due-now to execute all events that are due. Without shell access, request your site wp-cron.php URL in a browser. The first command also prints each event and how long it took.
Does WP-Cron slow my site?
Cron work runs in the same request path that triggers it, so heavy tasks can make an unlucky page load slower. Moving cron to a system job removes that overhead from visitors and makes timing predictable.
How do I check which WP-Cron events are scheduled?
Run wp cron event list with WP-CLI. It shows each hook, its next run time in GMT, how long until it runs and its recurrence. Events that stay overdue after several visits show that cron is not firing. Without shell access, a cron-viewer plugin shows the same list.
Keep reading
Watch your domains automatically
Aepto monitors expiry, DNS, SSL and uptime for every domain you own and alerts you when something changes. Free for 3 domains.