WordPress 2 min read

WordPress missed its publish time. Was WP-Cron running?

A scheduled WordPress post stayed unpublished. Check its timezone, whether the publish event is overdue and how your host runs WP-Cron.

WordPress missed its publish time. Was WP-Cron running?

Open the post in WordPress and check its status. If it already says Published, check the public URL while logged out. You may be looking at a cached page. If it still says Missed schedule, check the saved time against the timezone under Settings → General, then find out what runs WP-Cron on that site.

A 9 am post that went live at 10:17

Here’s an example. A post is due at 9 am, but the first request to reach WordPress comes at 10:17. On a site using the default traffic-triggered setup, that request can be what finally kicks off the overdue event. A visit served entirely by a cache may never reach WordPress. The pattern is a clue. Check the logs before changing the schedule.

Look for overdue events before running anything

wp cron event list --fields=hook,next_run_gmt,next_run_relative

Run this from the site directory if you have WP-CLI access. It lists events without running them. Look for publish_future_post and compare its time with the affected post. Several overdue hooks point towards the runner. If just one post is affected while other events run normally, check its status and the PHP log around the due time. WP-CLI command reference.

Check who is meant to run cron

On managed hosting, look for an existing scheduled task and its last successful run. If DISABLE_WP_CRON is enabled, a visit won’t trigger WordPress’s normal cron spawn. Check that the host’s replacement job points to the right installation and runs successfully before changing either setting. WordPress cron documentation.

Once you’ve corrected the cause, schedule one harmless test post a few minutes ahead. Compare the editor status and the logged-out public page. Record the due time and the actual time it appeared.

If this keeps happening, send me the expected publish time and what the editor showed.

Need a hand with this?

Get direct help with a WordPress fault, a custom feature or the regular upkeep of your website.

Talk directly to Adam

Share this article

Back to Blog