Claude Code recurring tasks and /loop now run up to 30 days
Claude Code 2.1.330 (November 20, 2026) lengthens how long recurring work can run inside one session. The changelog entry reads:
Changed recurring scheduled tasks and
/loopto run up to 30 days instead of 7 while their session keeps running, and say when they end; tasks made before this release still end at 7 days
What changes
- The ceiling for recurring scheduled tasks and
/loopgoes from 7 days to 30 days. - The limit applies only while the session that created them keeps running. The entry doesn't change what happens when the session ends.
- Claude Code now says when a task will end, so the expiry is no longer a surprise.
- Tasks made before 2.1.330 keep the 7-day limit. The changelog doesn't describe a way to extend an existing one.
What to check
Run claude --version to confirm you are on 2.1.330 or later. A recurring task you set up on an older version still stops after 7 days, whatever version you run now.
claude --version
The Claude Code sheet has the current /loop reference.