Skip to content
BENIBIX Learn

CLAUDE_CODE_DISABLE_CRON

AI⌨️ Claude CodeConfiguration

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

CLAUDE_CODE_DISABLE_CRON set to 1 turns off timed tasks in a session. The /loop skill and the cron tools go away. A task already on a timer stops, even one that is running now.

Example code

bash
export CLAUDE_CODE_DISABLE_CRON=1
claude
Stop all timed tasks in the session.

Common mistake

Thinking it stops cloud routines. It only stops timers inside a session.

Key takeaways

  1. 1
    Session timers off. All of them.
  2. 2
    /loop gone. And cron tools.
  3. 3
    Running ones stop. Too.