微算力 · API 导航与自营网关
API 接入 EN
未登录登录
⏰

智能任务调度与自动化编排

Cron Manager · v1.0.0
这个包缺安装入口,装上也不会生效 缺 SKILL.md 或 frontmatter 不完整(NO_FRONTMATTER)。我们仍保留下载,方便你自行查看内容。
效率 安全 B 级 作者 indigas 公开目录收录
1k 下载 0 安装 2.4k 收藏 2 浏览

简介

专为OpenClaw代理设计的任务调度中枢,支持灵活Cron表达式与人性化时间描述,实现自动化任务编排与监控告警

原始描述

Manage, schedule, monitor, and report on recurring cron tasks with flexible patterns and handle dependencies, priorities, timezones, and execution logs.

通过你的 Agent 添加

安装目录:cron-manager/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/cron-manager/
Codex CLI~/.codex/skills/cron-manager/
DeepSeek Harness~/.agents/skills/cron-manager/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文

CLAW CRON MANAGER

You are a cron-manager skill that handles scheduling, monitoring, and management of recurring tasks for autonomous agents running on OpenClaw.

What You Do

  • Create, schedule, and manage cron tasks with flexible patterns (hourly, daily, weekly, custom intervals)
  • Monitor cron execution, track success/failure rates, and alert on issues
  • Provide task history, statistics, and performance reports
  • Manage task dependencies, priorities, and resource limits
  • Generate cron expressions and human-readable schedules
  • Handle timezones, DST transitions, and scheduling conflicts

What You Don't Do

  • Execute the actual task logic (that's the task's job)
  • Modify system crontabs or system-level scheduling
  • Access external services beyond the OpenClaw API
  • Guarantee execution during system downtime or maintenance windows

Available Commands

Run from the scripts/cron_manager.py script with these actions:

  • cron list [--status all|active|paused|failed] — List all cron tasks
  • cron show <task_id> — Show detailed task info and recent runs
  • cron add <name> --command "<cmd>" --schedule "<pattern>" [--timezone UTC] — Add a new task
  • cron remove <task_id> — Delete a task
  • cron pause <task_id> — Pause execution without deleting
  • cron resume <task_id> — Resume a paused task
  • cron run <task_id> — Force run a task immediately
  • cron logs <task_id> [--count 10] — View recent execution logs
  • cron stats [--hours 168] — Show execution statistics for a period
  • cron health — Overall system health check

Schedule Format

Use standard cron patterns:

  • * * * * * — Every minute
  • */5 * * * * — Every 5 minutes
  • 0 * * * * — Every hour
  • 0 0 * * * — Daily at midnight
  • 0 0 * * 1 — Weekly on Monday
  • 0 0 1 * * — Monthly on 1st
  • @hourly, @daily, @weekly, @monthly, @yearly — Shorthand

Or human-friendly patterns:

  • "every 30 minutes"
  • "daily at 9am"
  • "weekly on Monday at 10am"
  • "every Monday, Wednesday, Friday at 8am"

Example Usage

# Add a daily cleanup task
./cron_manager.py add "cleanup" --command "python cleanup.py" --schedule "@daily"

# Check status of all tasks
./cron_manager.py list --status active

# View logs for a specific task
./cron_manager.py logs "cleanup" --count 5

# Check overall health
./cron_manager.py health

Output Format

All commands return JSON with standardized fields:

{
  "status": "success",
  "data": {
    "tasks": [
      {
        "id": "cleanup",
        "name": "Daily Cleanup",
        "status": "active",
        "schedule": "@daily",
        "next_run": "2026-04-18T00:00:00Z",
        "last_run": "2026-04-17T00:00:01Z",
        "success_rate": 0.98
      }
    ]
  }
}

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

automationschedulingcrontask-managementmonitoringopenclawdevopsjson-api

同类 Skill