Skip to content
WordPress3 min read

WP-Cron not working: "Missed schedule" and late events

Missed schedule

Short answer

WP-Cron doesn't run on a real clock: it only fires when someone loads a page that PHP processes. So tasks run late or never on low-traffic sites, when pages are served from cache, or when the site's request to itself fails. The reliable fix is adding DISABLE_WP_CRON to wp-config.php and creating a cPanel cron job that runs wp-cron.php every 5 to 15 minutes.

ArabyHost teamLast updated: ShareWhatsAppXLinkedIn
Contents
  1. What the error means
  2. Common causes
  3. How to fix it
  4. Prevention
  5. On ArabyHost

The clearest sign is Missed schedule next to a post that should have gone live at a set time. You may also see A scheduled event has failed or A scheduled event is late under Tools › Site Health, or pending jobs piling up in WooCommerce › Status › Scheduled Actions.

What the error means

WP-Cron isn’t a real cron job on the server. On each page view that PHP handles, WordPress checks whether a task is due; if one is, it fires a background request to wp-cron.php to run it. No visit, or a request that never arrives, means the task doesn’t run on time.

Common causes

  • Low traffic: overnight nobody may visit, so the scheduled post waits.
  • Page caching: when a page is served from a cache such as LiteSpeed Cache, PHP doesn’t run, so WP-Cron never fires.
  • DISABLE_WP_CRON set in wp-config.php without a replacement cron job.
  • The loopback request fails because the domain points elsewhere, a folder password, or a firewall. The REST API error page covers checking loopback.
  • A broken task in a plugin that throws a fatal error every time it runs, holding up the rest.

How to fix it

  1. Stop running cron on page views: open wp-config.php in Files › File Manager and add this above That's all, stop editing!:
define( 'DISABLE_WP_CRON', true );
  1. Create a real cron job: in cPanel open Advanced › Cron Jobs, pick Once Per Five Minutes under Common Settings (or type */15 in the Minute field for every 15 minutes), and put this in the Command field, replacing USER with your account username:
/usr/local/bin/php -q /home/USER/public_html/wp-cron.php >/dev/null 2>&1

As a full crontab line it reads:

*/15 * * * * /usr/local/bin/php -q /home/USER/public_html/wp-cron.php >/dev/null 2>&1

The cron generator helps you build the timing. 3. HTTP alternative: if the site lives elsewhere or you prefer to trigger it over the web:

curl -s "https://example.com/wp-cron.php?doing_wp_cron" >/dev/null 2>&1
  1. Test it: temporarily remove >/dev/null 2>&1 and enter your address under Cron Email at the top of the Cron Jobs page to receive the output, then put it back. If the job doesn’t run at all, see cron job not running.
  2. Find the broken task: install WP Crontrol, look at overdue events and the plugin that owns them, and check Metrics › Errors in cPanel around their run time.
  3. With SSH and WP-CLI, run due events by hand and see errors directly:
wp cron event list
wp cron event run --due-now

Prevention

  • Treat DISABLE_WP_CRON and the real cron job as one step; never add one without the other.
  • Don’t run it every minute unless you need to: each run loads all of WordPress.
  • After a migration, check the public_html path and username in the cron command.
  • For general background, see the cron jobs setup guide.

On ArabyHost

Open cPanel in one click from the Araby Panel and create the job under Cron Jobs with the command above. WordPress plans come with LiteSpeed Cache, which is one more reason to rely on a real cron job instead of visits. AI/Developer plans also include SSH jailed in CageFS if you want to run events by hand. The Araby AI assistant reads the error log when a task fails as it runs. See our WordPress hosting.

FAQ

How often should the WordPress cron job run?

Every 5 to 15 minutes suits most sites. Stores that rely on many WooCommerce background actions may prefer 5 minutes; a blog is fine with 15.

What happens if I set DISABLE_WP_CRON without a cron job?

All scheduled tasks stop completely, from scheduled posts to emails and backups. Only add the constant after creating a real cron job.

How do I know it's working now?

Schedule a test post a few minutes ahead and check that it publishes, or open Tools › Site Health and confirm the late-event warning is gone. The WP Crontrol plugin lists every event and its next run.

Useful? Share it with someone who needs it:WhatsAppXLinkedIn

Read next

Ready to put your idea online?

Fast, isolated hosting, support that understands you, and an AI assistant that fixes problems with you.