Project Type: WordPress Plugins

WP-CLI Commands (Action Scheduler)

This reference is generated from the Action Scheduler source code. All commands and arguments below are verified in the classes/WP_CLI/ implementation. Command Overview Command Purpose wp action-scheduler run Run queued...

ActionScheduler_DBStore (Custom Tables)

ActionScheduler_DBStore is the default store implementation that persists actions in custom database tables. It lives in classes/data-stores/ActionScheduler_DBStore.php and extends the ActionScheduler_Store abstraction. Storage Model ActionScheduler_DBStore persists data across several custom...

Schedule Overview

Action Scheduler schedules describe when an action should run and whether it recurs. Schedules implement ActionScheduler_Schedule and are attached to ActionScheduler_Action instances. Interface interface ActionScheduler_Schedule { public function next( ?DateTime...

ActionScheduler_SimpleSchedule

ActionScheduler_SimpleSchedule represents a one-time schedule that runs at a single date/time and never recurs. Class definition class ActionScheduler_SimpleSchedule extends ActionScheduler_Abstract_Schedule { public function calculate_next( DateTime $after ); public function is_recurring();...

Action Scheduler indexes

This document describes indexes defined in the Action Scheduler schema and how they support common queries. Indexes are defined in the CREATE TABLE statements in classes/schema/. actionscheduler_actions Index name Columns...

Action Scheduler database tables

This document summarizes the Action Scheduler custom tables created by the schema classes in classes/schema/. All table names shown below are without the WordPress table prefix; in production, each name...

Schema versioning and upgrades

This document describes how Action Scheduler manages schema versions and upgrades for its custom tables. The behavior is defined in classes/abstracts/ActionScheduler_Abstract_Schema.php and the concrete schema classes in classes/schema/. Schema version...

Fatal Error Monitoring

Overview ActionScheduler_FatalErrorMonitor tracks the currently executing action and detects unexpected fatal shutdowns. If a fatal error occurs, it marks the action as failed and releases the batch claim so another...

Locking

Overview Locks prevent concurrent or overly frequent operations that could overload the database or trigger duplicate runners. ActionScheduler_Lock defines the lock interface, and ActionScheduler_OptionLock is the default implementation. Lock lifecycle...

Queue Runner Overview

Goal The queue runner coordinates how pending actions are claimed, executed, and marked complete, while respecting time and memory limits. It also schedules cleanup work and handles recurring actions. Core...

← Back to Chubes.net