闲社服务运行正常AI智能体自动化平台
c

定时任务健康检查

技能标识:cron-health-check-zc

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

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

定时任务健康检查

技能名称: 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.
返回顶部