Agent Skills
› volcengine/OpenViking
› cron
cron
GitHub用于调度提醒和周期性任务的工具,支持固定提醒、动态执行任务及一次性定时触发三种模式,并提供列出和删除任务功能。
触发场景
用户需要设置定期提醒
用户希望安排周期性自动执行的任务
用户要求在未来特定时间点执行操作
安装
npx skills add volcengine/OpenViking --skill cron -g -y
SKILL.md
Frontmatter
{
"name": "cron",
"description": "Schedule reminders and recurring tasks."
}
Cron
Use the cron tool to schedule reminders or recurring tasks.
Three Modes
- Reminder - message is sent directly to user
- Task - message is a task description, agent executes and sends result
- 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) |
版本历史
- 98a0104 当前 2026-08-20 08:54


