Skip to content
Back to skills

Cron

ASecurity

安排提醒和重复任务。

  • 8 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 12, 2026
businessgit

Security analysis

A100/100

Scanned September 12, 2026

npx -y skills add lza6/Claude-code-cli-config --skill cron --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cron?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cron
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lza6-cron/badge)](https://www.skillsdirectory.com/skills/lza6-cron)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cron
description: "安排提醒和重复任务。"
---

# 计划任务

使用“cron”工具来安排提醒或重复任务。

## 三种模式

1. **提醒** - 消息直接发送给用户
2. **任务** - 消息是任务描述,代理执行并发送结果
3. **一次性** - 在特定时间运行一次,然后自动删除

## 示例

固定提醒:
```
cron(action="add", message="Time to take a break!", every_seconds=1200)
```

动态任务(agent每次执行):
```
cron(action="add", message="Check HKUDS/vikingbot GitHub stars and report", every_seconds=600)
```

一次性计划任务(从当前时间计算 ISO 日期时间):
```
cron(action="add", message="Remind me about the meeting", at="<ISO datetime>")
```

列出/删除:
```
cron(action="list")
cron(action="remove", job_id="abc123")
```

## 时间表达式

|用户说 |参数|
|------------|------------|
|每 20 分钟 |每秒:1200 |
|每小时 |每秒:3600 |
|每天早上 8 点 | cron_expr:“0 8 * * *” |
|工作日下午 5 点 | cron_expr:“0 17 * * 1-5”|
|在特定时间 | at:ISO 日期时间字符串(从当前时间计算)|

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.