How it runs
Action Scheduler stores jobs in the actionscheduler_actions table and processes them in batches. It is started by WP-Cron, plus an async request after admin page loads. On a quiet store, WP-Cron only runs when someone visits, so the queue only moves when there is traffic.
| Status | Meaning | Worry when |
|---|---|---|
| Pending | Waiting for its time | Scheduled date is long past (past-due) |
| In progress | Running now | Stays for more than a few minutes |
| Complete | Done, kept for 30 days by default | Never |
| Failed | Threw an error | Many with the same message |
Signs that it has stalled
Thousands of pending actions, a growing past-due count, or many failed ones with the same error. In the admin: WooCommerce → Status → Scheduled Actions, filtered by Past-due and Failed. Symptoms elsewhere: subscription renewals not charged, webhooks to your ERP or CRM late, analytics stuck.
-- Past-due and failed actions by hook (add your table prefix)
SELECT hook, status, COUNT(*) AS actions, MIN(scheduled_date_gmt) AS oldest
FROM wp_actionscheduler_actions
WHERE (status = 'pending' AND scheduled_date_gmt < UTC_TIMESTAMP() - INTERVAL 1 HOUR)
OR status = 'failed'
GROUP BY hook, status
ORDER BY actions DESC
LIMIT 20;Keeping it healthy
- Use a real cron. Disable WP-Cron on page load and run it every minute from the server.
- Run the queue from WP-CLI. It processes batches without web request time limits.
- Read the failures. The log on each failed action names the cause, often an extension or an expired API key.
- Keep the table small. Completed and failed actions build up; the default retention is 30 days.
# wp-config.php: stop WP-Cron from running on page views
wp config set DISABLE_WP_CRON true --raw
# crontab of the site user: due cron events, then a pass over the queue
* * * * * cd /var/www/shop && wp cron event run --due-now --quiet
*/5 * * * * cd /var/www/shop && wp action-scheduler run --batch-size=100 --quietTurning WP-Cron off without adding the crontab stops everything: scheduled posts, renewals, the queue. Add the cron line in the same change.
Watch it
Alert when past-due actions grow. It is the WooCommerce equivalent of Magento’s cron and indexers: the part of the store that works in the background and fails without a sound. Related: order emails not sending.
Check your own store now with the free WooCommerce checkout checker: it walks the checkout in a real browser, stops before payment, and shows the step where it breaks.
Find out your checkout broke before your customers do.
Real checkout checks for Magento and WooCommerce · free plan · no card requiredWooCommerce checkout monitoring →