Dokumentationerreichbar
Anthropic, Run prompts on a schedule
code.claude.com (externe Seite)
Die Dokumentation zu /
geprüft 10.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 10.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 10.11.2026Tasks only fire while Claude Code is running and idle. Closing the terminal or letting the session exit stops them firing.
bestätigt 10.11.2026This bounds how long a forgotten loop can run.
bestätigt 10.11.2026Seconds are rounded up to the nearest minute since cron has one-minute granularity.
bestätigt 10.11.2026A scheduled fire only runs skills that Claude is allowed to invoke on its own
bestätigt 10.11.2026Claude does not start new initiatives outside that scope, and irreversible actions such as pushing or deleting only proceed when they continue something the transcript already authorized.
bestätigt 10.11.2026Edits to loop.md take effect on the next iteration, so you can refine the instructions while a loop is running.
bestätigt 10.11.2026If an iteration ends without either rescheduling or stopping, Claude Code schedules one fallback wakeup about 20 minutes later and ends the loop when that iteration doesn't reschedule either.
bestätigt 10.11.2026A session can hold up to 50 scheduled tasks at once.
bestätigt 10.11.2026A scheduled prompt fires between your turns, not while Claude is mid-response.
bestätigt 10.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 10.11.2026No catch-up for missed fires.
bestätigt 10.11.2026A self-paced /
bestätigt 10.11.2026loop isn't restored, so run / loop again to restart it. Backgrounding the session carries /
bestätigt 10.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 10.11.2026loop 20m / review-pr 1234 Supported units are s for seconds, m for minutes, h for hours, and d for days.
bestätigt 10.11.2026Recurring tasks automatically expire 7 days after creation.
bestätigt 10.11.2026For cron-driven automation that needs to run unattended:
bestätigt 10.11.2026No (fresh clone)
bestätigt 10.11.2026When you omit the prompt, Claude uses a built-in maintenance prompt instead of one you supply.
bestätigt 10.11.2026tend to the current branch’s pull request
bestätigt 10.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 10.11.2026A self-paced loop waiting there for its next iteration keeps running, and that iteration starts on schedule.
bestätigt 10.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 10.11.2026
11 Eine Wissensbasis aufbauen12 Rechner und Netz pflegen28 Lange Läufe