cron-schedule
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseUse for workers that must survive session restarts:
CronCreateCronCreate({ schedule: "*/15 * * * *", prompt: "Run security audit worker via mcp__claude-flow__hooks_worker-dispatch" })为需要在会话重启后仍能运行的工作进程使用:
CronCreateCronCreate({ schedule: "*/15 * * * *", prompt: "Run security audit worker via mcp__claude-flow__hooks_worker-dispatch" })Recommended Schedules
推荐调度计划
| Worker | Cron | Description |
|---|---|---|
| audit | | Security scanning |
| optimize | | Performance optimization |
| consolidate | | Memory consolidation |
| map | | Codebase mapping |
| testgaps | | Test coverage analysis |
| document | | API documentation |
| 工作进程 | Cron表达式 | 描述 |
|---|---|---|
| audit | | 安全扫描 |
| optimize | | 性能优化 |
| consolidate | | 内存整合 |
| map | | 代码库映射 |
| testgaps | | 测试覆盖率分析 |
| document | | API文档生成 |
When to Use Cron vs Loop
何时使用Cron与Loop
- : In-session, cache-aware, self-pacing. Use for active development.
/loop - CronCreate: Persistent, survives restarts. Use for CI/monitoring.
- :会话内使用,感知缓存,自动调整节奏。适用于活跃开发场景。
/loop - CronCreate:持久化,可在重启后继续运行。适用于CI/监控场景。