We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d558eda commit 4a8c806Copy full SHA for 4a8c806
1 file changed
features/cron.feature
@@ -307,8 +307,13 @@ Feature: Manage WP-Cron events and schedules
307
# executes the "wp_privacy_delete_old_export_files" event there.
308
@require-wp-5.0
309
Scenario: Run currently scheduled events
310
+ # Disable web-triggered cron so spawn_cron() cannot set doing_cron between
311
+ # steps - wp cron event run always defines DOING_CRON so this has no effect
312
+ # on the commands being tested.
313
+ When I run `wp config set DISABLE_WP_CRON true --raw`
314
+
315
# WP throws a notice here for older versions of core.
- When I try `wp cron event run --all`
316
+ And I try `wp cron event run --all`
317
Then STDOUT should contain:
318
"""
319
Executed the cron event 'wp_version_check'
0 commit comments