cron-schedule

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
Use
CronCreate
for workers that must survive session restarts:
CronCreate({ schedule: "*/15 * * * *", prompt: "Run security audit worker via mcp__claude-flow__hooks_worker-dispatch" })
为需要在会话重启后仍能运行的工作进程使用
CronCreate
CronCreate({ schedule: "*/15 * * * *", prompt: "Run security audit worker via mcp__claude-flow__hooks_worker-dispatch" })

Recommended Schedules

推荐调度计划

WorkerCronDescription
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
工作进程Cron表达式描述
audit
*/15 * * * *
安全扫描
optimize
*/30 * * * *
性能优化
consolidate
0 * * * *
内存整合
map
*/30 * * * *
代码库映射
testgaps
*/15 * * * *
测试覆盖率分析
document
0 */2 * * *
API文档生成

When to Use Cron vs Loop

何时使用Cron与Loop

  • /loop
    : In-session, cache-aware, self-pacing. Use for active development.
  • CronCreate: Persistent, survives restarts. Use for CI/monitoring.
  • /loop
    :会话内使用,感知缓存,自动调整节奏。适用于活跃开发场景。
  • CronCreate:持久化,可在重启后继续运行。适用于CI/监控场景。