# cron-mastery

The cron-mastery skill explains when OpenClaw should use Cron or Heartbeat, how to schedule reminders, and how to remove finished one-shot jobs.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 260 installs · ★ 675 repo stars
- Author: sundial-org
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/sundial-org/awesome-openclaw-skills/tree/HEAD/skills/cron-mastery/SKILL.md
- Updated: 2026-03-07
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/cron-mastery

## What it does

The skill separates loose polling from fixed-time work. Heartbeat fits periodic checks, while Cron handles reminders and maintenance that must run at a set time. For delays longer than a minute, it recommends a one-shot `cron:add` job instead of an internal wait loop.

It includes a job pattern using an `at` schedule, an `agentTurn` payload, an isolated session, and a wake mode. Another section describes a daily Janitor that removes disabled one-shot jobs whose status is `ok`, while leaving recurring jobs alone. The agent also needs the user’s timezone stored in `MEMORY.md`; without that, a reminder such as 9 PM cannot be tied to the right local time.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add sundial-org/awesome-openclaw-skills --skill cron-mastery -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/cron-mastery/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/cron-mastery/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add sundial-org/awesome-openclaw-skills --skill cron-mastery -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/cron-mastery/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add sundial-org/awesome-openclaw-skills --skill cron-mastery -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/cron-mastery/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install sundial-org/awesome-openclaw-skills skills/cron-mastery
```

2. **Manually: put the files in place**
- File: `.github/skills/cron-mastery/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add sundial-org/awesome-openclaw-skills --skill cron-mastery -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/sundial-org/awesome-openclaw-skills --path skills/cron-mastery
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/cron-mastery/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add sundial-org/awesome-openclaw-skills --skill cron-mastery -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/sundial-org/awesome-openclaw-skills/tree/HEAD/skills/cron-mastery/SKILL.md

## When to use it
- choose Cron or Heartbeat for a scheduled task
- create a precise one-shot reminder
- remove completed cron jobs from the list
- set up agent wake-ups after an asynchronous wait

## Example prompts
- Use cron-mastery to schedule a reminder in 10 minutes with a one-shot `at` job.
- Set up a daily Janitor that deletes disabled jobs with status `ok`.
- Explain whether Heartbeat or Cron should handle a reminder at a specific time.

## Similar
- [cron-scheduling](https://affpapa.org/en/nevibecode/skills/cron-scheduling.md) — skill · 162 installs
- [Crontab Generator — Natural Language to Cron](https://affpapa.org/en/nevibecode/mcp/crontab-generator-natural-language-to-cron.md) — MCP server · 4388 installs
- [c-cron](https://affpapa.org/en/nevibecode/skills/c-cron.md) — skill · ★ 179 repo stars
- [Cron Expression Parser — Explain & Next Run Times](https://affpapa.org/en/nevibecode/mcp/cron-expression-parser-explain-next-run-times.md) — MCP server · 3230 installs
- [convex-cron-jobs](https://affpapa.org/en/nevibecode/skills/convex-cron-jobs.md) — skill · 2800 installs
- [crontap-replace-vercel-cron](https://affpapa.org/en/nevibecode/skills/crontap-replace-vercel-cron.md) — skill · 1300 installs

From the same set: [sundial-org/awesome-openclaw-skills](https://affpapa.org/en/nevibecode/by/sundial-org/awesome-openclaw-skills.md) — 37 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
