返回顶部
c

cron-health-check-zc定时任务健康检查

Monitors OpenClaw cron job health, identifies failures, timeouts, and delivery issues.

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

cron-health-check-zc

技能名称: cron-health-check-zc

详细描述:

Cron 健康检查 | OpenClaw 技能

描述

监控 OpenClaw 定时任务健康状态,识别失败、超时和投递问题。

Cron 健康检查 | OpenClaw 技能

通过分析运行历史并识别失败、超时和投递问题的模式,监控 OpenClaw 定时任务的健康状态。

用法

  • - 作为定时任务主动监控任务健康状态
  • 手动检查当前定时任务状态
  • 修复定时任务错误后验证改进效果

bash

检查所有定时任务的健康状态(最近24小时)


python3 /Users/ghost/.openclaw/workspace/skills/cron-health-check/scripts/checkcronhealth.py

检查最近48小时

python3 /Users/ghost/.openclaw/workspace/skills/cron-health-check/scripts/checkcronhealth.py --hours 48

输出JSON格式

python3 /Users/ghost/.openclaw/workspace/skills/cron-health-check/scripts/checkcronhealth.py --json

该技能的功能

  • - 分析 最近N小时的定时任务运行历史
  • 识别 连续失败、超时或投递问题的任务
  • 报告 每个任务的健康状态(健康/警告/严重)
  • 建议 修复方案(例如,为投递失败添加 --best-effort-deliver)
  • 检测 OpenRouter API 限制问题

作为定时任务集成

该技能可以定期运行以监控定时任务健康状态:

json
{
payload: {
kind: agentTurn,
message: 运行 cron-health-check 技能以分析定时任务健康状态。,
model: openrouter/google/gemini-2.5-flash,
thinking: low,
timeoutSeconds: 60
},
schedule: {
kind: cron,
cron: 0 /6
},
delivery: {
mode: announce,
bestEffort: true
},
sessionTarget: isolated,
name: Cron 健康监控器
}

输出

每个任务的健康状态:

  • - 健康:未检测到问题
  • 警告:存在一些问题但不严重
  • 严重:多次连续失败或超时

检测到的问题:

  • - 连续错误
  • 超时模式
  • 投递失败(建议使用 --best-effort-deliver)
  • OpenRouter API 超出限制

退出代码

  • - 0:所有任务健康
  • 1:发现警告问题
  • 2:发现严重问题

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 cron-health-check-zc-1776016762 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 cron-health-check-zc-1776016762 技能

通过命令行安装

skillhub install cron-health-check-zc-1776016762

下载

⬇ 下载 cron-health-check-zc v1.0.0(免费)

文件大小: 4.13 KB | 发布时间: 2026-4-13 09:55

v1.0.0 最新 2026-4-13 09:55
Initial release of cron-health-check-zc skill.

- Monitors OpenClaw cron job health by analyzing run history.
- Detects and reports consecutive failures, timeouts, delivery issues, and OpenRouter API limit problems.
- Provides health status for each job (healthy, warning, critical).
- Suggests fixes for common delivery issues.
- Includes CLI usage examples and integration instructions for scheduled health checks.

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

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

p2p_official_large
返回顶部