技能 效率工具 Cron 提醒与任务调度

Cron 提醒与任务调度

v20260409
cron
通过 cron 工具设定提醒、周期任务或一次性事件,支持间隔秒数、cron 表达式和 ISO 时间,并可列出或删除已有任务,便于日常自动化管理。
获取技能
462 次下载
概览

Cron

Use the cron tool to schedule reminders or recurring tasks.

Three Modes

  1. Reminder - message is sent directly to user
  2. Task - message is a task description, agent executes and sends result
  3. One-time - runs once at a specific time, then auto-deletes

Examples

Fixed reminder:

cron(action="add", message="Time to take a break!", every_seconds=1200)

Dynamic task (agent executes each time):

cron(action="add", message="Check HKUDS/vikingbot GitHub stars and report", every_seconds=600)

One-time scheduled task (compute ISO datetime from current time):

cron(action="add", message="Remind me about the meeting", at="<ISO datetime>")

List/remove:

cron(action="list")
cron(action="remove", job_id="abc123")

Time Expressions

User says Parameters
every 20 minutes every_seconds: 1200
every hour every_seconds: 3600
every day at 8am cron_expr: "0 8 * * *"
weekdays at 5pm cron_expr: "0 17 * * 1-5"
at a specific time at: ISO datetime string (compute from current time)
信息
Category 效率工具
Name cron
版本 v20260409
大小 1.14KB
更新时间 2026-04-10
语言