Skill Detail

WP Cron Health Monitor

Monitors WordPress wp-cron scheduled events using the WP_Cron API and Action Scheduler library. Detects stuck, overdue, or orphaned cron jobs and reports via WP REST API webhooks with configurable alert thresholds.

WordPress & CMSOpenClaw
WordPress & CMS OpenClaw Security Reviewed
Tool match: pagerduty
INSTALL WITH ANY AGENT
npx skills add agentskillexchange/skills --skill wp-cron-health-monitor Copy
Works best when you want a reusable capability, not another fragile one-off prompt.
At a glance
Author
WordPress
Last updated
Mar 24, 2026
Quick brief

WP Cron Health Monitor provides comprehensive monitoring of WordPress scheduled task infrastructure. It hooks into the wp-cron system using wp_get_scheduled_event() and _get_cron_array() to enumerate all registered cron hooks, their schedules, and last execution timestamps.

How it works

What this skill actually does

The skill integrates with Action Scheduler (used by WooCommerce and other major plugins) to monitor async action queues, detecting actions stuck in pending or failed states. It exposes a custom REST endpoint at /wp-json/cron-health/v1/status returning structured JSON with overdue counts, average execution times, and failure rates.

Alert thresholds are configurable per-hook: set maximum allowed delay before a cron event is flagged as stuck. Supports email notifications via wp_mail(), Slack webhooks, and PagerDuty integration. Includes a WP-CLI command wp cron-health report for server-side diagnostics and a dashboard widget showing cron health at a glance.