Skip to content

Commit c598cd6

Browse files
Regenerate README file (#137)
Co-authored-by: Alain Schlesser <alain.schlesser@gmail.com>
1 parent 51de942 commit c598cd6

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ These fields are optionally available:
192192
Runs the next scheduled cron event for the given hook.
193193

194194
~~~
195-
wp cron event run [<hook>...] [--due-now] [--exclude=<hooks>] [--all]
195+
wp cron event run [<hook>...] [--due-now] [--exclude=<hooks>] [--all] [--network]
196196
~~~
197197

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

213+
[--network]
214+
Run hooks across all sites in a multisite installation.
215+
213216
**EXAMPLES**
214217

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

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

222231

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

388397
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.
389398

399+
### License
400+
401+
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
402+
390403
## Support
391404

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

0 commit comments

Comments
 (0)