# Routines (Claude Code)

> Claude Code runs started by a schedule, an API call or a GitHub event, executed on Anthropic-managed infrastructure.

_Updated November 23, 2026_

Routines suit recurring jobs: a nightly dependency check, a weekly report, a response to every new issue. Each run is started by its trigger rather than kept running.

For work that should stay running between triggers, such as a bot or a long session you return to, an always-on machine such as an EnvHaven workspace is the other half of the picture.

## Keep reading

- [Cloud coding agent](https://envhaven.com/glossary/cloud-coding-agent)
- [Background agent](https://envhaven.com/glossary/background-agent)
- [Headless mode](https://envhaven.com/glossary/headless-mode)

Source: https://envhaven.com/glossary/routines
