What a real cron does and what WP-Cron does instead
cron row of the wp_options table. Nothing watches that list on its own.
Instead, on each request that loads WordPress, it checks whether any event's timestamp has passed. If one has, WordPress sends a background HTTP request to its own wp-cron.php file. This is called a loopback request, because the server is calling itself. That second request runs the due events, while the visitor's page carries on loading. The WordPress developer documentation on WP-Cron scheduling describes the same model. Some guides call it a pseudo-cron.
This means the time you set on a WordPress schedule is the earliest moment the task may run. It is not the moment the task will run.
Why quiet sites run late
wp-cron.php, but the call fails. Common reasons include HTTP basic auth on a staging site, a firewall or security rule that blocks the server from calling its own public address, and DNS that still points to an old server after a migration. In these cases the events stay overdue no matter how much traffic arrives.
In support, "my scheduled post didn't publish" and "the backup plugin says the last backup was days ago" usually trace back to one of these causes. Checking which one applies comes before changing anything.
Why busy sites have the opposite problem
doing_cron, before it spawns wp-cron.php. It will not spawn again until that lock expires. The lock duration is controlled by WP_CRON_LOCK_TIMEOUT, which defaults to 60 seconds. A transient is a value written to the database or object cache, so it is not a strict lock. When many requests arrive at the moment an event becomes due, several of them can see no lock and spawn cron at the same time. The MainWP article on WP-Cron describes this pattern as duplicate processing, database locks, and extra server load.
There is also a capacity cost. A spawned wp-cron.php request is an ordinary web request. It uses a PHP worker from the same pool that serves visitors, and it is subject to the same web server and PHP time limits. A heavy task such as an import, a large email batch, or an image regeneration job holds that worker for its whole duration. During a traffic peak, that worker is one fewer available for visitors.
The outcome on busy sites is timing that is roughly right but less predictable, with background work competing for the same resources as page loads.
Check what is actually scheduled
BASH
# List scheduled events with their next run time and recurrence
wp cron event list --fields=hook,next_run_gmt,next_run_relative,recurrence
# Check whether WordPress can spawn wp-cron.php through a loopback request
wp cron testnext_run_relative column is the one to read first. On a healthy site, most events show a time in the near future. If several events show a time in the past, often hours or days ago, then nothing has triggered WP-Cron since they became due. That points to low traffic, page caching that bypasses PHP, or a broken loopback.
wp cron test helps you tell those apart. If it reports that spawning failed, the loopback request is the problem, and adding traffic will not fix it. If it succeeds but events are still overdue, the likely cause is that too few requests reach PHP.
While the list is open, look for hooks from plugins that are no longer installed. Those events are harmless individually, but they stay in the cron option indefinitely.
Replace page-load triggering with a system cron job
- Disable the page-load trigger in
wp-config.php. - Add a system cron job that runs due events.
- Confirm that events are being processed.
wp-config.php above the line that says /* That's all, stop editing! */:
PHP
define( 'DISABLE_WP_CRON', true );wp-cron.php can still be called directly.
For step 2, add a crontab entry for the site user, either with crontab -e or through your control panel's cron jobs page. With WP-CLI installed, a typical entry looks like this. The paths are illustrative and must match your server.
TEXT
*/5 * * * * flock -n /tmp/example-wp-cron.lock /usr/local/bin/wp --path=/home/example/public_html cron event run --due-now --quiet >> /home/example/logs/wp-cron.log 2>&1*/5runs the job every five minutes. That is a common rule of thumb. A shorter interval gives more precise timing at the cost of more process starts. A longer one suits sites with only daily tasks.- Use a full path to
wp, because cron runs with a minimalPATH. You can find the path withcommand -v wpin a normal shell session as the same user. flock -nskips a run if the previous one is still going. This prevents long jobs from overlapping.- Sending output to a log file instead of
/dev/nullkeeps errors visible.
wp-cron.php over HTTP with curl or wget. That works, but the request goes back through the web server with the same limits as before.
On a multisite network, wp cron event run --due-now processes one site, the one given by --url or the main site. Each subsite needs its own run, usually by looping over wp site list.
For step 3, run wp cron event list again after the job has had time to fire. Overdue events should be gone, and the log file should contain no errors.
Be aware of one risk with this setup. With DISABLE_WP_CRON set, page loads no longer trigger anything, so if the system cron job is misconfigured, nothing scheduled will run at all. A wrong path, the wrong user, or a PHP binary without the required extensions can all cause this, and there is no fallback. How to Verify Your WordPress System Cron Job Is Actually Running walks through confirming each run.
In practice, treat every time in a WordPress schedule as "no earlier than" unless a system cron is driving it. When tasks run late, start with wp cron event list and wp cron test to find out whether nothing is triggering cron or whether the trigger is failing. Then move timing-sensitive sites to DISABLE_WP_CRON with a WP-CLI cron job, and check the event list afterwards to confirm it is working.