WP-Cron Explained: Why Scheduled WordPress Tasks Run Late
WordPress can schedule posts, maintenance jobs and plugin tasks, but its built-in scheduler does not behave exactly like the operating system’s cron service. WP-Cron checks for due work when the site receives a page load. That is convenient on shared hosting, yet a quiet website may not run a task at the expected minute. Understanding the difference helps you diagnose missed posts and delayed background work.
Why Scheduled Work Can Run Late
WP-Cron keeps a queue of events. When a request reaches WordPress, it checks whether any events are due and starts processing them. If no one visits the site near the scheduled time, a task may wait until a later visit. A scheduled post intended for 09:00, for example, might appear only after another request triggers the queue. Heavy traffic can create a different problem: many requests may compete for server resources while background work is running.
This is not the same as a page being unavailable. Our guide to website monitoring beyond uptime explains why a successful homepage check does not prove that scheduled jobs are healthy.
Check the Symptoms Before Changing Settings
First identify which events are late: scheduled posts, backups, emails or plugin-specific tasks. Check the site’s timezone, the intended schedule and whether the job was actually queued. WordPress Site Health can report problems with scheduled events or loopback requests. A security rule, DNS problem or HTTP error affecting the site’s own requests can also prevent normal cron spawning.
Look at application and server logs around the missed time. A PHP fatal error, resource limit or stalled plugin task can make a working scheduler look broken. If backups are involved, confirm the resulting files and run a restore test; a “completed” notification alone is not enough. Our website backup checklist covers that verification.
When to Use a System Scheduler
For a site that needs more predictable timing, an administrator can arrange for the hosting system’s scheduler to call wp-cron.php at a suitable interval. After confirming that the external trigger works, disable WordPress’s automatic page-load trigger with DISABLE_WP_CRON to avoid duplicate triggering and unnecessary overhead. Do not disable it first: without a replacement, due tasks can remain queued indefinitely.
Choose an interval based on the jobs that matter. A five-minute trigger may suit routine site maintenance; a task requiring precise timing needs a more deliberate design and end-to-end monitoring. On managed hosting, ask the provider whether it already supplies a scheduler before adding another one.
Verify the Change
Schedule a harmless test event or post, observe when it runs, and check logs for errors. Then verify important plugin jobs over several cycles. Monitor both the trigger and the outcome: a scheduler can start successfully while the job itself fails. Keep a record of the system cron entry and who owns it so it survives server migrations and account changes. For WordPress’s recommended setup and the page-load distinction, see the official guide to using a system task scheduler with WP-Cron.