Skip to main content
AI/MLruvnet

cron-schedule

Schedule persistent background workers via CronCreate

Stars
56,726
Source
ruvnet/claude-flow
Updated
2026-05-31
Slug
ruvnet--claude-flow--cron-schedule
View on GitHubRaw SKILL.md

// install — copy + paste into any project

mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/ruvnet/claude-flow/HEAD/plugins/ruflo-loop-workers/skills/cron-schedule/SKILL.md -o .claude/skills/cron-schedule.md

Drops the SKILL.md into .claude/skills/cron-schedule.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.

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.