跳到正文
cccskills
免费在 GitHub 公开

cron

Schedule reminders, recurring tasks, and one-time jobs using system crontab.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md1.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Cron

Schedule tasks using the system crontab via shell_exec.

List current cron jobs

crontab -l

Add a recurring job

(crontab -l 2>/dev/null; echo "*/20 * * * * echo 'Time to take a break!' >> /tmp/opc-reminders.log") | crontab -

Common schedules

ScheduleCron expression
Every 20 minutes*/20 * * * *
Every hour0 * * * *
Every day at 8am0 8 * * *
Weekdays at 5pm0 17 * * 1-5
Every Monday at 9am0 9 * * 1

One-time scheduled task

Use at for one-time jobs:

echo "echo 'Meeting reminder' >> /tmp/opc-reminders.log" | at 14:30

Or schedule with a specific date:

echo "echo 'Deadline reminder' >> /tmp/opc-reminders.log" | at 10:00 2026-03-20

Remove a job

Edit the crontab directly:

crontab -e

Or filter out a specific job:

crontab -l | grep -v 'pattern-to-remove' | crontab -

Notes

  • Use full paths in cron commands (cron has a minimal $PATH).
  • Redirect output to a log file or /dev/null to avoid mail noise.
  • Check at availability: which at (install with apt install at if missing).

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

clawhub

免费

Search and install agent skills from ClawHub, the public skill registry. Use when needing new capabilities, searching for skills, installing skills, or updating installed skills.

中文简介正在准备中。当前显示原文说明。

HKUDS/AutoSwarm18612026年10月17日 更新

Standing rules for how any role in an AutoSwarm company coordinates with its peers — work-item discipline, messaging, meetings, and blocking collaboration. Loaded only in company_mode.

中文简介正在准备中。当前显示原文说明。

HKUDS/AutoSwarm18612026年10月17日 更新

github

免费

Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.

中文简介正在准备中。当前显示原文说明。

HKUDS/AutoSwarm18612026年10月17日 更新

memory

免费

Manage durable global/project memory in `.opc/memory/global.md` and `.opc/memory/projects/<current_project_id>.md`.

中文简介正在准备中。当前显示原文说明。

HKUDS/AutoSwarm18612026年10月17日 更新

Collaborate with other agents in AutoSwarm company mode via the `opc-collab` CLI — send messages, request user input, delegate work, read the manager board, respond in meetings, propose task adjustments.

中文简介正在准备中。当前显示原文说明。

HKUDS/AutoSwarm18612026年10月17日 更新

Create or update skills. Use when designing, structuring, or packaging skills with scripts, references, and assets.

中文简介正在准备中。当前显示原文说明。

HKUDS/AutoSwarm18612026年10月17日 更新

查看 HKUDS 的全部技能

报告此技能的问题