BlogWordPress and web applications

WordPress Missed Scheduled Tasks: Diagnose WP-Cron Safely

When a WordPress task misses its schedule, separate three questions: was the event scheduled, was a runner triggered, and did the callback complete the intended work? Repeatedly clicking “run now” can hide the cause or repeat an external action. Inspect the queue and execution evidence first.

This guide concerns WordPress’s scheduled events. A plugin may maintain a separate queue with its own logs and retry rules. The steps assume access to the WordPress installation and WP-CLI under the site’s operating account. On managed hosting, request equivalent checks from the operator rather than running commands as root.

1. Establish what should have happened

Write down the task owner, expected result, scheduled time and timezone. A scheduled post becoming public, a backup completing and a payment notification being delivered are different outcomes. Record when the result was last confirmed, and whether a plugin update, PHP change or migration preceded the failure.

WordPress normally checks due events when a request reaches the application. A quiet site may therefore run an event later than its nominal time. That explains one source of delay; it does not prove that every missed task is a traffic problem. See WordPress’s WP-Cron overview.

2. Inspect the correct installation and event list

wp --info
wp --path=/var/www/example-site core version
wp --path=/var/www/example-site cron event list --fields=hook,next_run_gmt,next_run_relative,recurrence

Replace the example path. Confirm that the installation is the affected site, not a migration copy. For multisite, identify the intended site explicitly with the supported --url option. The list command reports scheduled hooks and timing; it is not a history of successful business outcomes. WordPress and plugins are loaded by these commands, so they should still be run in a controlled environment.

The event-list reference documents the available fields. Compare its GMT timestamp with the recorded UTC incident time. Do not change the site timezone merely to make two displays match.

What you find

Next step

The expected hook is absent

Confirm which plugin or component owns it and whether it uses another queue. Check its setup and scheduling logs.

Many unrelated events are overdue

Investigate the trigger or runner before changing each plugin.

Other events advance; one workflow fails

Inspect that component’s callback, dependencies and result log.

The event disappears but the expected result is absent

Check for execution errors or downstream rejection. Queue movement alone is not success.

3. Check the runner before trying to fix it

Ask whether the site uses request-triggered WP-Cron or an intentional system scheduler. Review the existing job, PHP executable, site account, working directory, logs and last exit status. A disabled request trigger can be correct when a separate runner is operating.

WP-CLI provides a spawning test, but it is an active test that can trigger due work. Run it only after confirming that doing so is appropriate:

wp --path=/var/www/example-site cron test

The cron-test documentation states that it checks relevant constants and attempts an HTTP spawn. An error when DISABLE_WP_CRON is true is not proof that an intentionally configured server scheduler has failed. Equally, a successful spawn does not establish that a particular email, export or renewal succeeded.

4. Follow the failing layer

For a failed loopback request, inspect the response and corresponding web-server or security logs. Authentication on a staging site, DNS resolution, TLS validation or an application error can prevent the call. Correct the specific path or trust problem; do not broadly disable access control or certificate checks.

For a server-runner failure, compare its environment with the interactive command that works. A different PHP version or missing extension can change the result. Our PHP version guide explains why the web and command-line runtimes must be checked separately. The cPanel cron guide covers creating and validating the control-panel job itself.

If you are choosing a control-panel hosting environment for this site, our cPanel hosting plans describe the account resources and management tools. Confirm the required scheduling interval, command-line access and PHP runtime before ordering; plugin task failures still need application-level diagnosis.

For a single plugin task, retain its error and task identifier. Check whether the destination accepted the action before retrying it. A timeout after a remote request may leave uncertainty about whether the action already occurred. Use the plugin’s supported reconciliation or retry procedure, especially for financial or customer-notification workflows.

5. Make a bounded correction and verify it

If a server scheduler is the chosen solution, establish and observe the replacement runner before disabling the request trigger. Keep the old configuration so the change can be reversed. WordPress describes the handover in its system-scheduler guide. Avoid adding multiple independent jobs that all run the same queue without understanding overlap handling.

WP-CLI can run a named hook or all due events. That is execution, not inspection. Consult the event-run reference and the owning plugin before choosing a retry scope. Do not delete all scheduled events, force every event to run, or clear locks as a generic repair.

Use a harmless task on a protected test copy where possible. For production verification, observe the next expected run and confirm its actual result. Record scheduled time, runner start, callback result and completion time. Check more than one normal interval before closing the issue.

What to include in a support request

  • Affected site and task name, with timezone and first observed failure.

  • WordPress, WP-CLI and relevant plugin versions; web and CLI PHP versions.

  • Whether WP-Cron is request-triggered or deliberately replaced by a server job.

  • A redacted event-list excerpt and matching runner/plugin errors.

  • The business outcome checked and whether any manual retry was already attempted.

Keep passwords, API keys, customer data and full database exports out of public tickets. This evidence lets the operator investigate the scheduler, application or integration without guessing from the phrase “cron is broken.”

References and further reading

Documentation reviewed on 29 November 2026. This is a documentation-based operating guide, not a report of a customer incident or a benchmark. Examples are illustrative; verify paths, permissions and installed command options in your own environment.

Published

WordPress and web applications