Skip to content

Commit dd8260f

Browse files
Explain what wp cron test actually does
1 parent 0b7bf3e commit dd8260f

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

commands/cron/test/index.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@ display_global_parameters: true
1010

1111
<hr />
1212

13-
13+
This command tests the spawning system by performing the following steps:
14+
* Checks to see if the `DISABLE_WP_CRON` constant is set; errors if true
15+
because WP-Cron is disabled.
16+
* Checks to see if the `ALTERNATE_WP_CRON` constant is set; warns if true
17+
* Attempts to spawn WP-Cron over HTTP; warns if non 200 response code is
18+
returned.
1419

1520

1621

0 commit comments

Comments
 (0)