编程

cron-quickstart

试用

Use the OpenClaw cron tool for scheduling reminders, delayed follow-ups, and recurring periodic checks. Covers one-shot and recurring schedules, session targeting, delivery modes, and wake events.

它能做什么

Use the OpenClaw cron tool for scheduling reminders, delayed follow-ups, and recurring periodic checks. Covers one-shot and recurring schedules, session targeting, delivery modes, and wake events.

技能文档

Cron Quickstart Skill

Schedule reminders, delayed tasks, and periodic checks using the OpenClaw cron tool.

When to Use

  • One-shot reminders ("remind me in 20 minutes")
  • Recurring periodic tasks ("every Monday at 9 AM")
  • Deferred follow-ups ("check back after the meeting")
  • Waking a session at a specific time

Schedule Types

One-shot (at)

{ "kind": "at", "at": "2026-09-02T18:00:00Z" }

Recurring (every)

{ "kind": "every", "everyMs": 3600000 }

Cron expression (cron)

{ "kind": "cron", "expr": "0 9 * * 1-5", "tz": "Asia/Shanghai" }

Payload Types

  • systemEvent — Injects text as a system event into a session (use with sessionTarget: "main")
  • agentTurn — Runs an agent turn with a message (use with sessionTarget: "isolated" or "current")

Common Patterns

Simple Reminder

{
  "name": "Meeting reminder",
  "schedule": { "kind": "at", "at": "2026-09-02T09:00:00Z" },
  "payload": { "kind": "systemEvent", "text": "Reminder: Team standup meeting starts now." },
  "sessionTarget": "main"
}

Periodic Check

{
  "name": "Email triage",
  "schedule": { "kind": "every", "everyMs": 21600000 },
  "payload": { "kind": "agentTurn", "message": "Check for urgent emails and summarize." },
  "sessionTarget": "isolated",
  "delivery": { "mode": "announce" }
}

Cron Schedule

{
  "name": "Morning briefing",
  "schedule": { "kind": "cron", "expr": "0 8 * * *", "tz": "Asia/Shanghai" },
  "payload": { "kind": "agentTurn", "message": "Prepare a morning briefing of calendar, news, and weather." },
  "sessionTarget": "current"
}

Key Constraints

  • sessionTarget: "main" requires payload.kind: "systemEvent"
  • sessionTarget: "isolated" | "current" | "session:xxx" requires payload.kind: "agentTurn"
  • ISO timestamps without timezone are treated as UTC
  • Use delivery.mode: "announce" for isolated agent results
  • Use deleteAfterRun: true for one-shot jobs that should auto-cleanup

Manage Jobs

  • List: cron list
  • Run immediately: cron run
  • Check history: cron runs
  • Remove: cron remove
  • Wake session: cron wake

相关技能

Manage OpenClaw cron jobs — list, pause, resume, maintenance mode, and health checks.

Automated daily security audits for OpenClaw agents with DM delivery and optional email reporting. Runs deep audits, creates or updates a recurring cron job,...

5 次安装

Proactive cron job health monitoring, failure detection, and auto-repair delegation. Triggers: 'cron failed', 'cron health', 'fix cron', 'consecutive errors

2 次安装

让定时任务在每次运行时自动采用最新的提示词、策略、投递方式和模型配置。

21 次安装

实现『用 A 会话调起/注入 B 会话』的能力(sessions_send):cron 任务、外部进程或另一会话可向目标会话注入消息,唤醒其 agent 带完整上下文继续推进。适用于 OpenClaw 与 QClaw(同内核)。含 Windows 下 visibility 配置检查/修复、正确重启网关(SIGUSR1 bug 规避)、cron job 设计。当用户要求「定时任务完成后回到本对话继续推进」「cron 回调当前会话」「让任务结果上报到同一对话」时使用。

1 次安装

Isolated crons, scripts, reminders, and status checkers sent it but the agent forgot? Write deliveries into the session transcript.

4 次安装1 星标