Skip to content
Diamond Sierra

PB-3004: Scheduled jobs are running late

Paul Bunyan code PB-3004 (Warning): Scheduled jobs are running late. What it means and what to do.

Updated · By Diamond Sierra

On this page

What it means

Several scheduled jobs are well past their due time. Emails, backups, cleanups and renewals may not be happening.

What to do

WordPress only runs its schedule when someone visits. On a quiet or fully cached site, have the server call wp-cron.php every five minutes instead.

Common causes

  • WordPress only runs its schedule when someone visits. A quiet site, or one served entirely from a page cache, has few visits that reach PHP.
  • DISABLE_WP_CRON set in wp-config.php with no server cron set up to replace it.
  • One very long job (PB-2701) holding up the jobs behind it.
  • A firewall or security plugin blocking the site's call to itself.

How to find and fix it

  1. Set up a server cron in the hosting panel that calls https://your-site/wp-cron.php every five minutes, then set DISABLE_WP_CRON to true.
  2. Check Background for jobs that run long or fail, and fix those first.
  3. If the site calls itself and gets a 403, allow the server's own address in the firewall.

Details

CodeSeverityGroup
PB-3004WarningSetup