https://github.com/ocean90/wp-cli-cron-fixer
WP-CLI Command: Remove broken entries from the cron array.
https://github.com/ocean90/wp-cli-cron-fixer
wp-cli wp-cli-command wp-cli-package
Last synced: 11 months ago
JSON representation
WP-CLI Command: Remove broken entries from the cron array.
- Host: GitHub
- URL: https://github.com/ocean90/wp-cli-cron-fixer
- Owner: ocean90
- Created: 2016-06-04T19:11:20.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-14T20:39:55.000Z (over 9 years ago)
- Last Synced: 2025-02-10T23:35:59.382Z (about 1 year ago)
- Topics: wp-cli, wp-cli-command, wp-cli-package
- Language: PHP
- Size: 1000 Bytes
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ocean90/wp-cli-cron-fixer
=========================
Remove broken entries from the cron array.
## Using
```
wp cron event fixer [--dry-run]
```
**OPTIONS**
[--dry-run]
Run the fix and show report, but don't fix the broken cron.
## Example
```bash
for SITE in $(wp site list --field=url); do \
echo "$SITE"; \
wp cron event fixer --url=$SITE; \
done
```
## Installing
Installing this package requires WP-CLI v0.23.0 or greater. Update to the latest stable release with `wp cli update`.
Once you've done so, you can install this package with `wp package install ocean90/wp-cli-cron-fixer`.