5 pages for --retire-at.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Claude Code changelog
Claude Code CLI · in the page
changelog
…t before their first turn being left with no release timer, ignoring `--retire-at` and delaying shutdown * \[VSCode] Fixed an unsent prompt and its attachments being lost when switching to another ses…
Self-hosted environments
Claude Code CLI · in the page
self-hosted-environments
…rs. How your infrastructure stops a runner decides whether you need `--retire-at`. A kill that delivers `SIGTERM` needs no flag: the runner drains as [Shutdown timing](/docs/en/self-hosted-environmen…
Customize sessions in self-hosted environments
Claude Code CLI · in the page
self-hosted-environments-configuration
…whenever the runner releases a session: at the idle timeout, at the [`--retire-at`](/docs/en/self-hosted-environments-reference#runner-cli-flags) time, and, on a runner on v2.1.260 or later, at a sess…
Deploy self-hosted environments to production
Claude Code CLI · in the page
self-hosted-environments-deploy
…time. Allow more time if you set either of these flags: * **With [`--retire-at`](/docs/en/self-hosted-environments-reference#runner-cli-flags)**: leave enough time between the retire time and the t…
Self-hosted environments reference
Claude Code CLI · in the page
self-hosted-environments-reference
…log isn't kept on disk. Requires Claude Code v2.1.268 or later. | | `--retire-at <epoch-seconds>` | `SELF_HOSTED_RUNNER_RETIRE_AT` | unset | Retire the runner at an absolute Unix timestamp in seconds…