WooCommerce glossary

What is Action Scheduler?

Action Scheduler is the background job queue that WooCommerce uses to run tasks later or in batches, instead of making you wait while a page loads.

How WooCommerce uses it

Action Scheduler is a library that ships with WooCommerce. Many WooCommerce tasks and plugins put jobs in its queue, and it works through them in the background. One job that matters for reporting: it fills the WooCommerce Analytics lookup tables (wc_order_stats, wc_order_product_lookup, wc_customer_lookup and others) after orders are created or changed. When you run Import historical data under Analytics › Settings, the import also runs as queued actions. Moving orders to HPOS uses background batches the same way.

You can see the queue under WooCommerce › Status › Scheduled Actions, with tabs for pending, completed, failed and other states. Each action has a name (its hook), a scheduled date and a log.

A worked example

Say your store takes 50 orders on a busy morning, but Analytics › Revenue shows only 35. Opening Scheduled Actions, you find a long list of pending actions. Once they run, the remaining 15 orders appear in Analytics. If the pending list never shrinks, background processing has stalled, often because WordPress's scheduled tasks aren't running on your host.

Why it matters

When Analytics looks behind or incomplete, Action Scheduler is one of the first places to check. A healthy queue means reports catch up within minutes; a stuck or failing queue means missing orders. The guide on why Analytics numbers don't match your orders covers this and the other usual causes, and WooCommerce sales reports shows the reports it feeds.