技能 编程开发 定时调度与持久化后台任务

定时调度与持久化后台任务

v20260716
cron-schedule
本功能通过`CronCreate`实现持久化的后台任务调度。与会话内的循环不同,定时任务可以存活重启,非常适合用于持续集成(CI)、系统监控和周期性维护(如安全审计、性能优化、数据整合)。它帮助用户管理和理解不同类型的任务调度。
获取技能
361 次下载
概览

Use CronCreate for workers that must survive session restarts:

CronCreate({ schedule: "*/15 * * * *", prompt: "Run security audit worker via mcp__plugin_ruflo-core_ruflo__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.
信息
Category 编程开发
Name cron-schedule
版本 v20260716
大小 1KB
更新时间 2026-07-18
语言