WP-CLI commands
When WP-CLI is available, Cron-Sentry registers these commands:
wp cronsentry list | List scheduled events (add –format=json|csv). |
wp cronsentry run <hook> | Run a hook now, profiled. Add –key=<sig> to use a specific event’s args. |
wp cronsentry pause <hook> | Pause a hook (stays scheduled). |
wp cronsentry resume <hook> | Resume a paused hook. |
wp cronsentry profile | Show the bottleneck profile (add –days=N). |
wp cronsentry history | Recent runs (add –status=error –limit=N). |
wp cronsentry health | Run the health check; exits with a warning if problems are found. |
wp cronsentry purge | Clear all run history. |