Command reference ยท Claude Code
/schedule
Creates, updates, lists, or runs routines that run on a schedule on Anthropic-managed cloud infrastructure.
Claude walks you through the setup conversationally. Alias: /routines.
โ WHEN TO USE IT?
A recurring check that survives ending the session
Use /schedule to set up a daily routine that runs on Anthropic-managed cloud infrastructure โ it keeps running even after the machine or session is long closed.
A one-time future task independent of the current session
Use /schedule to set up a one-off future task that doesn't depend on the current session staying open.
โ WHEN NOT TO?
Quick polling within the current session
Per the docs, /loop is meant for quick polling during an open session (session-scoped, ends with the session); /schedule is for routines on cloud infrastructure with a minimum interval of 1 hour.
Better: Use /loop 5m ... as long as the session stays open anyway and the interval is under an hour.
The task needs access to local files
Per the docs, cloud routines run on a fresh clone with no access to local files.
Better: Use a Desktop scheduled task or /loop, both of which have local file access.
SOURCES
- Claude Code Doku (offiziell) โ code.claude.com