Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 4 days ago
JSON representation

WP-CLI Command: Remove broken entries from the cron array.

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`.