What WP-Cron does on each page load
cron option inside the wp_options table. Each event has a timestamp and, for repeating events, an interval such as hourly or daily.
On a normal page request, WordPress checks that list. If any event's timestamp is in the past, it sends a loopback request, which is an HTTP request from the server to its own /wp-cron.php. That request carries a doing_wp_cron query parameter holding a timestamp. The request is non-blocking, so the visitor's page doesn't wait for the tasks to finish. A short-lived lock, stored as a transient and controlled by the WP_CRON_LOCK_TIMEOUT constant (60 seconds by default), stops a second spawn from starting while one is in progress.
The consequence is that a WP-Cron schedule means "not before this time". If nobody visits between 02:00 and 07:40, the 02:00 backup runs at 07:40. An hourly event runs at most once an hour, and only if a request arrives to trigger it. Nothing in this design reads the system clock on its own.
On a quiet site the result shows up as late or missed tasks. The Missed Schedule article covers that symptom in detail. The rest of this article is about confirming the behavior from logs and deciding what to replace it with.
Finding wp-cron.php hits in the access log
/var/log/nginx/access.log, Apache on Debian and Ubuntu to /var/log/apache2/access.log, and cPanel servers keep per-domain logs in a domlogs directory whose path varies by version. A site may also have its own vhost log, so check the server block or virtual host config if the main log looks empty.
Once you know the file, two read-only commands give most of the picture. The first shows the most recent hits. The second counts hits per hour, which makes gaps and bursts easy to see. It assumes the common combined log format, where the fourth field is the timestamp.
BASH
# Last 20 wp-cron.php requests
grep 'wp-cron.php' /var/log/nginx/access.log | tail -n 20
# Hits per hour, e.g. '[24/Nov/2026:18'
grep 'wp-cron.php' /var/log/nginx/access.log | awk '{print $4}' | cut -d: -f1-2 | sort | uniq -cTEXT
Illustrative output format:
203.0.113.10 - - [24/Nov/2026:18:30:04 +0000] "POST /wp-cron.php?doing_wp_cron=1795545004.1234560680389404296875 HTTP/1.1" 200 0 "-" "WordPress/<version>; https://example.com"127.0.0.1 or a proxy address. The method is POST and the status is 200. The doing_wp_cron value is a Unix timestamp; this one decodes to the same second as the log time. The user agent names WordPress and the site URL.
If you see GET requests to wp-cron.php from other IPs with other user agents, something outside WordPress is calling it. That might be an uptime monitor, an external cron service someone set up, or a scanner probing the file. Those are worth identifying before you change anything.
Reading the pattern behind late or bunched tasks
wp-cron.php mean tasks are failing or being cut off. Check the PHP error log at the same timestamps.
On a support desk, the first check for a "my scheduled post didn't publish" report is usually simple: does wp-cron.php appear in the log around the scheduled time at all? That one check separates "no trigger" from "trigger fired but the task failed", which need different fixes.
Replacing the page-load trigger with a system cron job
- In
wp-config.php, above the line that says to stop editing, adddefine( 'DISABLE_WP_CRON', true );. This turns off the page-load check only. Scheduled events still exist and still run when something calls them. - Add a crontab entry for the site's user, not root, so files created by tasks keep the right ownership. Use
crontab -eas that user.
BASH
# Run due WordPress cron events every 5 minutes
*/5 * * * * cd /home/USER/public_html && /usr/local/bin/wp cron event run --due-now >/dev/null 2>&1wp (check it with which wp). If WP-CLI isn't available, two alternatives are running php wp-cron.php from the site directory, or requesting the URL with curl or wget. The HTTP approach goes through the web server and is subject to its timeouts. The CLI approaches aren't.
The interval is a trade-off. Every 5 minutes keeps scheduled posts and emails close to on time. Every 15 minutes is lighter on a server with many sites. For a store or a membership site, shorter is usually worth it. For a brochure site, 15 minutes is typically fine. If some tasks can run longer than the interval, wrap the command in flock -n with a lock file so two runs don't overlap.
The default WP-Cron is still reasonable for some sites. A personal blog with steady daytime traffic, nothing time-sensitive, and no shell or cron access can live with it. Switch when lateness has a real cost, such as order emails, subscription renewals, or backups, or when the logs show either gaps or constant spawning.
Confirming the switch worked
php approach, the POST hits with the WordPress user agent stop, and nothing replaces them. Those commands never go through the web server, so they don't appear in the access log. That silence is expected.
To confirm tasks are running, run wp cron event list and check that the next-run times keep moving forward instead of piling up in the past. If you chose the curl approach, you should see regular GET hits every 5 or 15 minutes with the curl user agent. The system cron verification article walks through tracing executions when a cron job fails silently.
The practical rule is to look at the log before trusting the schedule. A one-line grep for wp-cron.php tells you whether WordPress is being triggered, how often, and whether those runs succeed. If the hits follow your visitors rather than the clock, and the timing matters for the site, disable the page-load trigger and give the job to system cron.