---
description: "Create and manage scheduled cron tasks"
argument-hint: "create|list|pause|resume|delete|run|stop|show|missed ..."
---

The cron-runner plugin handles this command in plugin.ts.

Creation binds the actual host workspace/session. Without a host session, use an explicit
`--session` or `--fresh-session`; never assume `default`. Keep Desktop/TUI running for triggers.
Models use the structured Schedule tool, not shell commands or direct JSON edits.
Pause only affects future triggers; stop cancels this execution; delete also stops queued/running work.

Supported forms:

- `/cron 120m Prompt`
- `/cron 1d Task description /workflow research Extra workflow prompt`
- `/cron 1m Task description workflow plan camera.jpg`
- `/cron 每天 6:07 Prompt`
- `/cron 工作日 6:07 Prompt`
- `/cron 每周一 6:07 Prompt`
- `/cron create --name "Name" --cron "7 6 * * 1" --prompt "Prompt"`
- `/cron create --name "Once" --cron "5 13 * * *" --prompt "Prompt" --once`
- `/cron create --name "Workflow" --cron "7 6 * * 1" --workflow "plan \"Weekly report\"" --permanent`
- `/cron create --name "Fresh workflow" --cron "7 6 * * *" --workflow "research" --fresh-session`
- `/cron list`
- `/cron show <id>`
- `/cron pause <id>`
- `/cron resume <id>`
- `/cron run <id>`
- `/cron stop <id>`
- `/cron missed`
- `/cron delete <id>`
