/install cron-watchdog
Watchdog — Cron Health Monitor
Monitors all cron jobs for failures and auto-fixes them. Posts to Slack only when issues are found or unfixable errors exist.
CRITICAL: Slack Routing
When sending messages to Slack, you MUST specify channel: "slack" in every message tool call:
message(action: "send", channel: "slack", target: "C0AHYTV5WP7", message: "...")
Without channel: "slack", messages will fail silently.
Schedule
Every 6 hours: 5, 11, 17, 23 CT
Steps
cron(action: "list")— get all jobs and their current status- For each job, check:
lastStatuserror?consecutiveErrors > 0? What waslastError? - For model not allowed errors: use
cron(action: "update", jobId: "...", patch: { payload: { model: "anthropic/claude-sonnet-4-6" } }), then force-run, log change - For timeout errors: use
cron(action: "update", jobId: "...", patch: { payload: { timeoutSeconds: \x3Ccurrent + 60> } })— NEVER edit cron JSON files directly - For other errors: analyze, attempt fix if possible, or flag as unresolved
- Post to Slack
C0AHYTV5WP7(#morning-briefs) ONLY if issues were found/fixed or unfixable errors exist - If everything is healthy: no Slack message (silent pass)
CRITICAL: Never Edit cron/jobs.json Directly
Always use the cron tool with action="update" to modify job settings. Direct file edits break the cron system.
Slack Alert Format
🐺 Watchdog Report — \x3Ctimestamp>
✅ Fixed: \x3Cjob-name> — \x3Cwhat was fixed>
❌ Unfixable: \x3Cjob-name> — \x3Cerror summary>
⚠️ Flagged: \x3Cjob-name> — \x3Cissue description>
Only send if at least one issue exists.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install cron-watchdog - 安装完成后,直接呼叫该 Skill 的名称或使用
/cron-watchdog触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Cron Watchdog 是什么?
Monitor all OpenClaw cron jobs for failures and auto-fix common errors (model-not-allowed, timeouts). Posts to Slack only when issues are found. Runs every 6... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 216 次。
如何安装 Cron Watchdog?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install cron-watchdog」即可一键安装,无需额外配置。
Cron Watchdog 是免费的吗?
是的,Cron Watchdog 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Cron Watchdog 支持哪些平台?
Cron Watchdog 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Cron Watchdog?
由 mpbshhx(@mpbshhx)开发并维护,当前版本 v1.0.0。