All cron endpoints are available since v2.1.0.
GET /cron/events
Returns all scheduled cron events sorted by next-run timestamp ascending.Response
Returns an array of event objects.The WordPress action hook name.
Unix timestamp of the next scheduled run.
Human-readable time until the next run (e.g.
in 5 minutes).The recurrence schedule key (e.g.
hourly). Empty for single-run events.Human-readable label for the schedule (e.g.
Once Hourly).Schedule interval in seconds.
0 for single-run events.Arguments passed to the hook when it fires.
MD5 hash of the serialized args array, used to uniquely identify the event instance.
Whether the hook belongs to WordPress core.
POST /cron/run
Triggers a cron event immediately by callingdo_action_ref_array with the given hook and arguments.
Parameters
The name of the WordPress action hook to trigger.
Arguments to pass to the hook. Defaults to an empty array.
Response
true if the hook fired without throwing an exception.The hook name that was triggered.
Execution time in milliseconds.
Any output buffered during execution.
Exception message if the hook threw an error, otherwise
null.DELETE /cron/event
Unschedules a cron event. If bothtimestamp and args are provided, only that specific event instance is removed. Otherwise all occurrences of the hook are cleared.
Parameters
The hook name to unschedule.
Unix timestamp of the specific event instance to remove. Must be paired with
args.Arguments of the specific event instance to remove. Must be paired with
timestamp.Response
Always
true on success.The hook name that was unscheduled.
GET /cron/schedules
Returns all registered cron schedules, including built-in WordPress schedules and any custom schedules created through the plugin.Response
Returns an array of schedule objects sorted by interval ascending.The schedule identifier (e.g.
hourly).Human-readable label (e.g.
Once Hourly).Interval in seconds.
Whether this schedule was created through WP Manager Pro.
POST /cron/schedules
Creates a custom cron schedule. The schedule is immediately available for use by new cron events.Parameters
Unique machine-readable identifier for the schedule. Only lowercase letters, numbers, and underscores are allowed.
Human-readable name shown in the WordPress admin.
Interval in seconds. Must be at least
60.Response
Always
true on success.The saved schedule key.
The saved display name.
The saved interval in seconds.
DELETE /cron/schedules
Deletes a custom cron schedule. Only schedules created through WP Manager Pro can be deleted.Parameters
The key of the custom schedule to delete.
Response
Always
true on success.The key of the deleted schedule.
GET /cron/health
Returns cron health diagnostics including overdue events, configuration flags, and suggested server cron commands.Response
true if DISABLE_WP_CRON is defined and set to true in wp-config.php.true if ALTERNATE_WP_CRON is enabled.Value of
WP_CRON_LOCK_TIMEOUT in seconds. Defaults to 60.Whether a cron process is currently running (based on the
doing_cron transient).Total number of scheduled events.
Number of events that are past their scheduled run time.
A suggested server crontab command to trigger WP-Cron every 5 minutes via curl.
The WP-CLI command to run all due events manually.
