@@ -67,11 +67,13 @@ wp cron event
67
67
68
68
# Run all cron events due right now
69
69
$ 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.
70
72
Success: Executed a total of 2 cron events.
71
73
72
74
# Delete all scheduled cron events for the given hook
73
75
$ 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 .
75
77
76
78
# List scheduled cron events in JSON
77
79
$ wp cron event list --fields=hook,next_run --format=json
@@ -107,7 +109,7 @@ wp cron event delete [<hook>...] [--due-now] [--exclude=<hooks>] [--all]
107
109
108
110
# Delete all scheduled cron events for the given hook
109
111
$ 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 .
111
113
112
114
113
115
@@ -203,6 +205,8 @@ wp cron event run [<hook>...] [--due-now] [--exclude=<hooks>] [--all]
203
205
204
206
# Run all cron events due right now
205
207
$ 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.
206
210
Success: Executed a total of 2 cron events.
207
211
208
212
@@ -342,7 +346,7 @@ wp cron event unschedule <hook>
342
346
343
347
# Unschedule a cron event on given hook.
344
348
$ wp cron event unschedule cron_test
345
- Success: Unscheduled 2 events with hook 'cron_test'.
349
+ Success: Unscheduled 2 events for hook 'cron_test'.
346
350
347
351
## Installing
348
352
0 commit comments