Title: wp cron
Published: February 5, 2018
Last modified: April 13, 2026

---

# 󠀁[wp cron <command>](https://developer.wordpress.org/cli/commands/cron/)󠁿

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

## In this article

 * [Examples](https://developer.wordpress.org/cli/commands/cron/?output_format=md#examples)
 * [Subcommands](https://developer.wordpress.org/cli/commands/cron/?output_format=md#subcommands)

[ Back to top](https://developer.wordpress.org/cli/commands/cron/?output_format=md#wp--skip-link--target)

 [ ⌊GitHub⌉ ](https://github.com/wp-cli/cron-command)

 [ View Open Issues (0) ](https://github.com/login?return_to=%2Fissues%3Fq%3Dlabel%3Acommand%3Acron+sort%3Aupdated-desc+org%3Awp-cli+is%3Aopen)
[ View Closed Issues (41) ](https://github.com/login?return_to=%2Fissues%3Fq%3Dlabel%3Acommand%3Acron+sort%3Aupdated-desc+org%3Awp-cli+is%3Aclosed)
[Create New Issue](https://github.com/wp-cli/cron-command/issues/new)

### 󠀁[Examples](https://developer.wordpress.org/cli/commands/cron/?output_format=md#examples)󠁿

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

### 󠀁[Subcommands](https://developer.wordpress.org/cli/commands/cron/?output_format=md#subcommands)󠁿

| Name | Description | 
| [wp cron event](https://developer.wordpress.org/cli/commands/cron/event/) |

Schedules, runs, and deletes WP-Cron events.

  | 
| [wp cron schedule](https://developer.wordpress.org/cli/commands/cron/schedule/) |

Gets WP-Cron schedules.

  | 
| [wp cron test](https://developer.wordpress.org/cli/commands/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._