⌨️CLAUDE_CODE_DISABLE_CRON
Also known as CLAUDE_CODE_DISABLE_CRON=1
Set to 1, it turns off timed tasks in a session.
Think of it like
It is like you turn off all the alarm clocks in the house.
Example
Jack left a /loop checking a build every minute and forgot it. He sets this, and the loop stops at once.
Why it matters
A timed task can run up cost while no one watches. This is a sure off switch.
Definition
Example code
bash
export CLAUDE_CODE_DISABLE_CRON=1
claudeCommon mistake
Key takeaways
- 1Session timers off. All of them.
- 2/loop gone. And cron tools.
- 3Running ones stop. Too.