# CLAUDE_CODE_DISABLE_CRON

> Set to 1, it turns off timed tasks in a session.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** CLAUDE_CODE_DISABLE_CRON=1

## Think of it like

It is like you turn off all the alarm clocks in the house.

## 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

Jack left a /loop checking a build every minute and forgot it. He sets this, and the loop stops at once.

## Example code

```bash
export CLAUDE_CODE_DISABLE_CRON=1
claude
```

Stop all timed tasks in the session.

## Why it matters

A timed task can run up cost while no one watches. This is a sure off switch.

## Common mistake

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

## Three principles

- **Session timers off.** All of them.
- **/loop gone.** And cron tools.
- **Running ones stop.** Too.

## Related terms

- [Cron Tools](https://learn.benibix.com/term/ai/cron-tools)
- [ScheduleWakeup Tool](https://learn.benibix.com/term/ai/schedule-wakeup-tool)

---

Source: https://learn.benibix.com/term/ai/claude-code-disable-cron-variable
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-16
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
