360 Secure SkillHub
360 安全技能中心

Tracker Latest Run Monitor

读取指定 cron 任务最近一次已完成运行记录,用 Node 脚本向飞书发送一条紧凑私信,内容仅含最近一次执行时间、状态和详情;若尚无已完成记录则安静退出。目标任务 ID 与飞书配置需预先在脚本或配置文档中确认。

分类:自动化
aaronstuart
aaronstuart
热度 20.11
最近更新 2026-05-11 17:39:30

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add aaronstuart/tracker-latest-run-monitor
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
tracker-latest-run-monitor
description
Monitor the most recent run result of a configured OpenClaw cron job and send a compact Feishu private message with the latest execution time, status, and detail. Use when a user wants a standalone skill for latest-run monitoring, cron status notifications, daily status pings, or Feishu alerts for a tracker/scheduled job regardless of success or failure.

Tracker Latest Run Monitor

Use this skill when you need a standalone latest-run status notifier for a cron job.

Core files

  • scripts/monitor-tracker-runs.js: Read the target cron job's most recent finished run record and send a compact Feishu DM.
  • references/configuration.md: Explain what the script reads and what notification it sends.

Workflow

  1. Ensure the target cron job id and Feishu config are correct in the script or referenced config.
  2. Run scripts/monitor-tracker-runs.js directly with Node.
  3. Let the script read the target cron run JSONL file.
  4. Send exactly one Feishu private message for the latest finished run, whether it succeeded or failed.

Command

node scripts/monitor-tracker-runs.js

Output behavior

The script sends a compact mobile-friendly Feishu text with only:

  • 最近一次执行时间
  • 状态
  • 详情

If no finished run exists yet, the script exits quietly.