← 返回
未分类 中文

Operational Heartbeat

Automated daily health check for OpenClaw instances. Verifies memory file presence, detects stale/overdue cron jobs, and surfaces system status. Intended for...
对OpenClaw实例进行自动化每日健康检查。验证内存文件存在性,检测过时/逾期的定时任务,并展示系统状态。适用于...
guillaumemaka
未分类 clawhub v1.0.0 1 版本 99557.5 Key: 无需
★ 0
Stars
📥 225
下载
💾 0
安装
1
版本
#latest

概述

  1. Ensure memory file exists for today:
    • Path: memory/YYYY-MM-DD.md
    • If missing, create with minimal template
  1. Check cron job health:
    • Use cron list to fetch all jobs
    • For each job, verify state.nextRunAtMs is in the future
    • Flag jobs with consecutiveErrors > 0 or lastRunStatus != 'ok'
    • Count stale/overdue jobs
  1. Optional: promote learnings from recent memory files (if configured)
  1. Report summary:
    • Memory file: created/exists
    • Cron jobs: total, healthy, stale count
    • Any errors or warnings

Implementation notes:

  • Use a small Node.js script to parse cron JSON and filter stale jobs
  • Comparison: new Date().getTime() vs nextRunAtMs
  • Consider timezone-aware scheduling
  • Exit 0 if healthy; non-zero if issues found

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-21 23:56 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Hellofresh

guillaumemaka
管理HelloFresh订阅、搜索并将食谱转为音频、追踪配送、接收Telegram送货通知。
★ 1 📥 339

Package Manager Updates

guillaumemaka
检查、汇总和更新所有已安装包管理器(npm、pip、brew、cargo、go等)中的软件包。用于用户想要检查过期软件包、获取更新摘要或更新依赖项时使用。
★ 0 📥 464

Learned Workflows

guillaumemaka
可重复任务的可重用工作流笔记
★ 0 📥 241