wp cron <command>

Tests, runs, and deletes WP-Cron events; manages WP-Cron schedules.

In this article


# Test WP Cron spawning system
$ wp cron test
Success: WP-Cron spawning is working as expected.


wp cron event

Schedules, runs, and deletes WP-Cron events.

wp cron schedule

Gets WP-Cron schedules.

wp cron test

Tests the WP Cron spawning system and reports back its status.

Command documentation is regenerated at every release. To add or update an example, please submit a pull request against the corresponding part of the codebase.