Dokumentationerreichbar
Anthropic, Run prompts on a schedule
code.claude.com (externe Seite)
Die Dokumentation zu /
geprüft 22.11.2026
Worauf sich diese Seite beruft, wörtlich, abgerufen am 12.10.2026:
Use cloud tasks for work that should run reliably without your machine. Use Desktop tasks when you need access to local files and tools. Use /
bestätigt 22.11.2026loop for quick polling during a session. After each iteration it picks a delay between one minute and one hour based on what it observed
bestätigt 22.11.2026Tasks only fire while Claude Code is running and idle. Closing the terminal or letting the session exit stops them firing.
bestätigt 22.11.2026This bounds how long a forgotten loop can run.
bestätigt 22.11.2026Seconds are rounded up to the nearest minute since cron has one-minute granularity.
bestätigt 22.11.2026A scheduled fire only runs skills that Claude is allowed to invoke on its own
bestätigt 22.11.2026Each run goes through your session’s permission checks before it pushes or deletes anything.
bestätigt 22.11.2026Edits to loop.md take effect on the next iteration, so you can refine the instructions while a loop is running.
bestätigt 22.11.2026A self-paced loop can also stop when an iteration ends without Claude scheduling the next one. For one extra iteration about 20 minutes later
noch nicht nachgeprüftA session can hold up to 50 scheduled tasks at once.
bestätigt 22.11.2026A scheduled prompt fires between your turns, not while Claude is mid-response.
bestätigt 22.11.2026Unless it runs every five minutes, a recurring task starts each run late by up to half the gap to the next run, and by at most 30 minutes.
bestätigt 22.11.2026No catch-up for missed fires.
bestätigt 22.11.2026A self-paced /
noch nicht nachgeprüftloop isn’t restored either. To restart a loop that didn’t come back, run / loop again. Backgrounding the session carries /
bestätigt 22.11.2026loop tasks over to a background session, which keeps running without a terminal. You can also pass a skill as the prompt, for example /
bestätigt 22.11.2026loop 20m / review-pr 1234 Supported units are s for seconds, m for minutes, h for hours, and d for days.
bestätigt 22.11.2026Recurring tasks automatically expire 7 days after creation.
bestätigt 22.11.2026For cron-driven automation that needs to run unattended:
bestätigt 22.11.2026No (fresh clone)
bestätigt 22.11.2026When you omit the prompt, Claude uses a built-in maintenance prompt instead of one you supply.
bestätigt 22.11.2026tend to the current branch’s pull request
bestätigt 22.11.2026When you resume with claude --resume or claude --continue, Claude Code doesn’t restart the background Bash commands and monitors that were running when the session ended.
bestätigt 22.11.2026A self-paced loop waiting there for its next iteration keeps running, and that iteration starts on schedule.
bestätigt 22.11.2026In a background session, a self-paced loop stops if its next wakeup comes due while the session’s process isn’t running, such as after a crash.
bestätigt 22.11.2026The file is plain Markdown with no required structure.
bestätigt 22.11.2026
11 Eine Wissensbasis aufbauen12 Rechner und Netz pflegen28 Lange Läufe