cron-command
cron-command copied to clipboard
Tests, runs, and deletes WP-Cron events; manages WP-Cron schedules.
## Feature Request - [x] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). **Describe your use case and the problem you are facing** I'd like to be able to delete specific cron...
I use `wp cron event run --due-now` as my production cron. Every 5 minutes. But it's a heavy cron. Sometimes it takes more then 5 minutes. When that happens some...
## Bug Report - [x] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). - [x] Yes, more specifically, I reviewed the guidelines on [how to write clear bug reports](https://make.wordpress.org/cli/handbook/bug-reports/). **Describe the current,...
Would be great if the `Executed the cron event 'x'` message included a dump of the arguments passed in. Perhaps as part of a debug group so can be enabled/disabled...
The test suite contains a test regarding an alternate cron that does not seem to be complete, it does never trigger any cron: https://github.com/wp-cli/cron-command/blob/1eadbe6d729a24073d5ce00171f06b4b8c065a9b/features/cron.feature#L285-L307
This addresses https://github.com/wp-cli/cron-command/issues/70. This one is sort of complicated to reproduce accurately, but these tests demonstrate that a registered shutdown function _is_ capable of writing to a file, so **the...
Plan to add cron arguments into logging as debug output: - [x] Understand the current code structure and event object - [x] Add WP_CLI::debug() call to log event arguments after...
Complete the incomplete test for alternate cron (ALTERNATE_WP_CRON) ## Plan - [x] Analyze the issue and understand the incomplete test - [x] Review the `wp cron test` command implementation to...
I just updated [WP-Crontrol](https://wordpress.org/plugins/wp-crontrol/) so it also shows the actions attached to each cron event. WP-CLI should do the same when you use `wp cron event list`.
## Feature Request - [x] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). **Describe your use case and the problem you are facing** In a multisite environment when you want to run...