Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ These fields are optionally available:
Runs the next scheduled cron event for the given hook.

~~~
wp cron event run [<hook>...] [--due-now] [--exclude=<hooks>] [--all]
wp cron event run [<hook>...] [--due-now] [--exclude=<hooks>] [--all] [--network]
~~~

**OPTIONS**
Expand All @@ -210,6 +210,9 @@ wp cron event run [<hook>...] [--due-now] [--exclude=<hooks>] [--all]
[--all]
Run all hooks.

[--network]
Run hooks across all sites in a multisite installation.

**EXAMPLES**

# Run all cron events due right now
Expand All @@ -218,6 +221,12 @@ wp cron event run [<hook>...] [--due-now] [--exclude=<hooks>] [--all]
Executed the cron event 'cron_test_2' in 0.006s.
Success: Executed a total of 2 cron events.

# Run all cron events due right now across all sites in a multisite
$ wp cron event run --due-now --network
Executed the cron event 'cron_test_1' in 0.01s.
Executed the cron event 'cron_test_2' in 0.006s.
Success: Executed a total of 2 cron events across 3 sites.



### wp cron event schedule
Expand Down Expand Up @@ -387,6 +396,10 @@ Want to contribute a new feature? Please first [open a new issue](https://github

Once you've decided to commit the time to seeing your pull request through, [please follow our guidelines for creating a pull request](https://make.wordpress.org/cli/handbook/pull-requests/) to make sure it's a pleasant experience. See "[Setting up](https://make.wordpress.org/cli/handbook/pull-requests/#setting-up)" for details specific to working on this package locally.

### License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

## Support

GitHub issues aren't for general support questions, but there are other venues you can try: https://wp-cli.org/#support
Expand Down