cron-manager
Conventions for creating cron jobs. Reference this when setting up scheduled tasks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Conventions for creating cron jobs. Reference this when setting up scheduled tasks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | cron-manager |
| description | Conventions for creating cron jobs. Reference this when setting up scheduled tasks. |
| metadata | {"openclaw":{"emoji":"⏰"}} |
Conventions for creating and managing cron jobs. Use OpenClaw's built-in cron tool — not the CLI.
Follow these rules when creating any cron job:
<agent>_<job_name>)isolated — never use mainoff, low, medium, or high)Read cron/<job_name>.md and follow its instructions.cron/<job_name>.md in your workspace with the full job instructionsAnnounce (default) — the cron system delivers the agent's response as a single message to a Slack channel. Use for status updates, summaries, findings. When there's nothing to report, reply NO_REPLY — OpenClaw suppresses delivery silently.
None (no delivery) — the agent handles its own messaging via the message tool. Use when the job needs multi-step messaging, conditional posting, or multi-channel delivery. The prompt file must instruct the agent to use message directly.
Each prompt file (cron/<job_name>.md) should include:
NO_REPLY")channel:C...) or user IDs (user:U...)A gate is a shell command that runs before the agent turn. Exit 0 = proceed, non-zero = skip. No tokens spent on skipped jobs. Requires the patched fork.
Use a gate when there's a cheap pre-check:
# Only if open GitHub issues with label
--gate "gh issue list --repo owner/repo --label ready --state open --limit 1 | grep -q ."
# Only on weekdays
--gate "[ $(date +%u) -le 5 ]"
--light-context for jobs that don't need workspace bootstrap files--thinking off or --thinking low for simple jobsFor full conventions: https://raw.githubusercontent.com/geekforbrains/openclaw-playbook/main/standards/cron.md