Skip to content

Commit 2108295

Browse files
authored
Merge pull request #103 from wp-cli/regenerate-readme
2 parents 29a5f9a + 48a31ca commit 2108295

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,13 @@ wp cron event
6767

6868
# Run all cron events due right now
6969
$ wp cron event run --due-now
70+
Executed the cron event 'cron_test_1' in 0.01s.
71+
Executed the cron event 'cron_test_2' in 0.006s.
7072
Success: Executed a total of 2 cron events.
7173

7274
# Delete all scheduled cron events for the given hook
7375
$ wp cron event delete cron_test
74-
Success: Deleted 2 instances of the cron event 'cron_test'.
76+
Success: Deleted a total of 2 cron events.
7577

7678
# List scheduled cron events in JSON
7779
$ wp cron event list --fields=hook,next_run --format=json
@@ -107,7 +109,7 @@ wp cron event delete [<hook>...] [--due-now] [--exclude=<hooks>] [--all]
107109

108110
# Delete all scheduled cron events for the given hook
109111
$ wp cron event delete cron_test
110-
Success: Deleted 2 instances of the cron event 'cron_test'.
112+
Success: Deleted a total of 2 cron events.
111113

112114

113115

@@ -203,6 +205,8 @@ wp cron event run [<hook>...] [--due-now] [--exclude=<hooks>] [--all]
203205

204206
# Run all cron events due right now
205207
$ wp cron event run --due-now
208+
Executed the cron event 'cron_test_1' in 0.01s.
209+
Executed the cron event 'cron_test_2' in 0.006s.
206210
Success: Executed a total of 2 cron events.
207211

208212

@@ -342,7 +346,7 @@ wp cron event unschedule <hook>
342346

343347
# Unschedule a cron event on given hook.
344348
$ wp cron event unschedule cron_test
345-
Success: Unscheduled 2 events with hook 'cron_test'.
349+
Success: Unscheduled 2 events for hook 'cron_test'.
346350

347351
## Installing
348352

0 commit comments

Comments
 (0)