360 Secure SkillHub
360 安全技能中心

Tracker Latest Run Monitor

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

aaronstuart
aaronstuart
热度 43.79
最近更新 2026-05-11 17:39:30
分类:自动化依赖:代码执行 / 读写文件 / 第三方 API应用场景:自动化脚本 / 工作流 / 日程安排

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add 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.