# Cron Tools

> Three tools that run a prompt at set times inside a session.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** CronCreate, CronDelete, CronList, /loop

## Think of it like

It is like a clock that rings at set times, while you are still here.

## Definition

Three tools schedule a prompt inside the current session. CronCreate sets one up with a five-part cron time, the prompt to run and whether it repeats. CronList shows them, and CronDelete cancels one by its eight-letter id. A session holds up to 50. They only run while Claude Code is open and idle, and a repeating one ends itself after seven days. The /loop command uses them.

## Example

Jack asks Claude to check the build every ten minutes. Claude sets up a cron task, and each check runs between his own messages.

## Example code

```text
/loop 5m check if the deploy finished
```

Run a check every five minutes in this session.

## Why it matters

You can hand Claude a job that repeats, and keep working while it does.

## Common mistake

Expecting the task to run after you close the terminal. It only fires while the session is open.

## Three principles

- **In this session.** Gone when it closes.
- **Up to 50.** Each with an id.
- **Seven days.** Then it ends.

## Related terms

- [ScheduleWakeup Tool](https://learn.benibix.com/term/ai/schedule-wakeup-tool)
- [RemoteTrigger Tool](https://learn.benibix.com/term/ai/remote-trigger-tool)
- [Claude Code Session](https://learn.benibix.com/term/ai/claude-code-session)

## Told apart from

- [Cron Tools vs RemoteTrigger](https://learn.benibix.com/compare/cron-tools-vs-remote-trigger-tool): People often think a /loop task keeps running after they close the terminal. It does not. The cron tools only fire while the session is open. And a repeating task ends after seven days. RemoteTrigger sets up a task on claude.ai instead. That task runs in the cloud on its own schedule, even with your computer off.

## Taught in

- [Scheduling and Output Tools](https://learn.benibix.com/learn/ai-claude-code/scheduling-and-output-tools): Claude Code, 12/16

![A clock on the session runs a prompt later. A cloud schedule keeps running after the laptop is closed.](https://learn.benibix.com/diagrams/ct-schedule-tools.svg)

---

Source: https://learn.benibix.com/term/ai/cron-tools
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-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
