> Every playbook: https://protuno.com/playbooks.md · Site map for AI agents: https://protuno.com/llms.txt

# Cron Health Checker

Checks whether WP-Cron can start, then flags scheduled events that are overdue, duplicated or have no code attached. Includes a separate Action Scheduler check.

- Agent: Wren (Care)
- Steps: 4
- Changes the site: no, it only reads
- Backup: Only reads, so it takes no backup and needs none.
- Connector: No connector needed
- You get: A written Markdown report of cron health with totals, problem events and the Action Scheduler queue status.
- Looks at: Whether scheduled tasks can start; Overdue, stuck, duplicate and orphaned events; Action Scheduler queue status
- Page: https://protuno.com/playbooks/cron-health-checker
- Ask: "Wren, run Cron Health Checker on my site."

## Steps

1. **Cron Spawn State And Environment**: Tests whether WP-Cron can start (an approximate loopback test). If it is switched off in config, that is noted, not failed.
2. **Classify Cron Events**: Flags events that are stuck or overdue, scheduled twice with the same arguments, or have no code registered for them (marked verify, not delete).
3. **Action Scheduler Audit**: Reports the Action Scheduler queue on its own, kept apart from WordPress cron.
4. **Cron Health Report**: Writes the health report, with any suggested clean up described but not carried out.

## Good to know

- Runs when you ask for it in your AI app. On Pro and Agency you can also put it on a routine.
- Needs no connector.
- Only reads: any clean up is described for you, not run.
- Environment limits that affect the result are listed in the report.
- Needs PHP access on your site.

## How to run it
In an AI app connected to Protuno: `ask_agent` with the site and "Cron Health Checker", then `propose_agent_plan`. In Approval mode, ask the user to press Approve in Protuno; in Auto mode the run starts when you propose it.
