WP-CLI commands
When WP-CLI is available, Cron Monitor registers these commands:
wp cronmonitor list | List scheduled events (add –format=json|csv). |
wp cronmonitor run <hook> | Run a hook now, profiled. Add –key=<sig> to use a specific event’s args. |
wp cronmonitor pause <hook> | Pause a hook (stays scheduled). |
wp cronmonitor resume <hook> | Resume a paused hook. |
wp cronmonitor profile | Show the bottleneck profile (add –days=N). |
wp cronmonitor history | Recent runs (add –status=error –limit=N). |
wp cronmonitor health | Run the health check; exits with a warning if problems are found. |
wp cronmonitor purge | Clear all run history. |
Was this helpful?
Thanks for letting us know.
Sorry this did not answer it. Thanks for telling us: we use it to improve the guides.
Still need help? Sign in to your account and raise a support ticket. The people who wrote the code will help, and most tickets are answered the same working day.