File contents 定时任务仪表板状态
适用场景
定时任务仪表板状态;请帮我做“定时任务仪表板状态”的预演版:
功能说明
定时任务仪表板状态
把所有 cron 任务的“最近执行、成功失败、下次时间”集中可视化。
这个案例能帮你做什么
一眼看清所有 cron 任务状态,不再“失败了很久都没人发现”。
快速定位失败任务和最近输出,缩短排查时间。
识别连续漏跑任务,提前处理稳定性问题。
你需要的 Skills(按类型)
类型
Skill
用途
来源
内置
system
读取 crontab 与系统执行信息
OpenClaw Built-in
内置
filesystem
读取任务日志与输出
OpenClaw Built-in
快速体验版(先跑一轮)
先做一次只读巡检:
你是我的 OpenClaw 助手。
请帮我做“定时任务仪表板状态”的预演版:
1. 列出所有已配置 cron 任务。
2. 展示每个任务最近执行时间与成功/失败状态。
3. 展示最近输出(最后 10 行)。
4. 标记漏跑 2 次及以上的任务。
稳定自动版(可长期运行)
1) 仪表板脚本片段
function showCronStatus() {
const jobs = parseCrontab();
jobs.forEach(job => {
const lastRun = getLastRunLog(job);
const status = lastRun.success ? '✓' : '✗';
console.log(`${status} ${job.name} - Last: ${lastRun.time}`);
});
}
2) OpenClaw 执行提示词(自动版)
你是我的 OpenClaw 助手,请执行“Cron Dashboard Status”。
请使用内置 Skills:system、filesystem。
按需执行(on demand):
1. 列出全部 cron 任务。
2. 显示最近执行时间。
3. 显示成功/失败状态。
4. 显示最近输出(last 10 lines)。
5. 显示下次计划执行时间。
6. 若任务漏跑 2 次及以上,立即标记告警。
成功标准
All jobs visible in dashboard
Failures detected within 1 hour
Historical logs accessible
源文件
来源:awesome-openclaw-zh 原始文件:35-cron-dashboard-status.md
1 --- 2 name: cron-dashboard-status 3 description: 定时任务仪表板状态 4 --- 5 6 # 定时任务仪表板状态 7 8 ## 适用场景 9 # 定时任务仪表板状态;请帮我做“定时任务仪表板状态”的预演版: 10 11 ## 功能说明 12 # 定时任务仪表板状态 13 14 > 把所有 cron 任务的“最近执行、成功失败、下次时间”集中可视化。 15 16 ## 这个案例能帮你做什么 17 18 - 一眼看清所有 cron 任务状态,不再“失败了很久都没人发现”。 19 - 快速定位失败任务和最近输出,缩短排查时间。 20 - 识别连续漏跑任务,提前处理稳定性问题。 21 22 ## 你需要的 Skills(按类型) 23 24 | 类型 | Skill | 用途 | 来源 | 25 |---|---|---|---| 26 | 内置 | `system` | 读取 crontab 与系统执行信息 | OpenClaw Built-in | 27 | 内置 | `filesystem` | 读取任务日志与输出 | OpenClaw Built-in | 28 29 ## 快速体验版(先跑一轮) 30 31 先做一次只读巡检: 32 33 ```text 34 你是我的 OpenClaw 助手。 35 请帮我做“定时任务仪表板状态”的预演版: 36 1. 列出所有已配置 cron 任务。 37 2. 展示每个任务最近执行时间与成功/失败状态。 38 3. 展示最近输出(最后 10 行)。 39 4. 标记漏跑 2 次及以上的任务。 40 ``` 41 42 ## 稳定自动版(可长期运行) 43 44 ### 1) 仪表板脚本片段 45 46 ```javascript 47 function showCronStatus() { 48 const jobs = parseCrontab(); 49 jobs.forEach(job => { 50 const lastRun = getLastRunLog(job); 51 const status = lastRun.success ? '✓' : '✗'; 52 console.log(`${status} ${job.name} - Last: ${lastRun.time}`); 53 }); 54 } 55 ``` 56 57 ### 2) OpenClaw 执行提示词(自动版) 58 59 ```text 60 你是我的 OpenClaw 助手,请执行“Cron Dashboard Status”。 61 请使用内置 Skills:system、filesystem。 62 63 按需执行(on demand): 64 1. 列出全部 cron 任务。 65 2. 显示最近执行时间。 66 3. 显示成功/失败状态。 67 4. 显示最近输出(last 10 lines)。 68 5. 显示下次计划执行时间。 69 6. 若任务漏跑 2 次及以上,立即标记告警。 70 ``` 71 72 ## 成功标准 73 - All jobs visible in dashboard 74 - Failures detected within 1 hour 75 - Historical logs accessible 76 77 ## 源文件 78 来源:awesome-openclaw-zh 79 原始文件:35-cron-dashboard-status.md
YangYuChen-Work/awesome-ai-skills/tree/main/夜间自动化/cron-dashboard-status commit e8b134efd8
Frequently asked questions How do I install the Cron Dashboard Status skill? Run npx skillmds@latest add yangyuchen-work/cron-dashboard-status in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
What does the Cron Dashboard Status skill do? 定时任务仪表板状态 It is listed under Coding & Dev Tools on SkillMD.
Is Cron Dashboard Status safe to use? This skill has not completed SkillMD's automated safety review yet. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
Which AI agents work with Cron Dashboard Status? This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Is Cron Dashboard Status free to use? Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Who published Cron Dashboard Status? YangYuChen-Work (@yangyuchen-work) published this skill. Their other Agent Skills are listed on their SkillMD profile.