返回顶部
🇺🇸 English
🇨🇳 简体中文
🇨🇳 繁體中文
🇺🇸 English
🇯🇵 日本語
🇰🇷 한국어
🇫🇷 Français
🇩🇪 Deutsch
🇪🇸 Español
🇷🇺 Русский
w

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 hours. Use when you need automated cron health monitoring and self-healing.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
176
下载量
0
收藏
概述
安装方式
版本历史

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 1. `cron(action: "list")` — get all jobs and their current status 2. For each job, check: `lastStatus` error? `consecutiveErrors > 0`? What was `lastError`? 3. For **model not allowed** errors: use `cron(action: "update", jobId: "...", patch: { payload: { model: "anthropic/claude-sonnet-4-6" } })`, then force-run, log change 4. For **timeout errors**: use `cron(action: "update", jobId: "...", patch: { payload: { timeoutSeconds: <current + 60> } })` — NEVER edit cron JSON files directly 5. For **other errors**: analyze, attempt fix if possible, or flag as unresolved 6. Post to Slack `C0AHYTV5WP7` (#morning-briefs) **ONLY if issues were found/fixed or unfixable errors exist** 7. 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 — <timestamp> ✅ Fixed: <job-name> — <what was fixed> ❌ Unfixable: <job-name> — <error summary> ⚠️ Flagged: <job-name> — <issue description> ``` Only send if at least one issue exists.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 cron-watchdog-1776170461 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 cron-watchdog-1776170461 技能

通过命令行安装

skillhub install cron-watchdog-1776170461

下载 Zip 包

⬇ 下载 watchdog v1.0.0

文件大小: 1.65 KB | 发布时间: 2026-4-17 14:32

v1.0.0 最新 2026-4-17 14:32
Monitors OpenClaw cron jobs for failures and auto-fixes common errors (model-not-allowed, timeouts). Posts alerts only when issues are found.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部