Use CronCreate for workers that must survive session restarts:
CronCreate({ schedule: "/15 *", prompt: "Run security audit worker via mcp__claude-flow__hooks_worker-dispatch" })
Recommended Schedules
| Worker | Cron | Description |
|---|---|---|
| audit | /15 * | Security scanning |
| optimize | /30 * | Performance optimization |
| consolidate | 0 | Memory consolidation |
| map | /30 * | Codebase mapping |
| testgaps | /15 * | Test coverage analysis |
| document | 0 /2 | API documentation |
When to Use Cron vs Loop
/loop: In-session, cache-aware, self-pacing. Use for active development.- CronCreate: Persistent, survives restarts. Use for CI/monitoring.

