New to AI? Start here → Start 1. What can you do with Claude?

Last checked: November 10, 2026

Scheduled runs in Claude Code

In one line

A scheduled task saves “make this request at this time.” If it needs your files, run it on your computer; if it has to run even when your computer is off, run it in the cloud.

The big picture

★ Scheduled on your computer vs. in the cloud ★

💻 Your computer

Can work with your folders and files

The app must be open and the computer awake.

☁️ Cloud

Runs even when your computer is off

Can't see your computer's files. No more often than once an hour.

Organizing files: your computer. Gathering info: the cloud!

Follow along

Way 1. On your computer (desktop app)

Create it in the Code tab of the Claude desktop app. The easiest way is to ask in plain words.

Create a scheduled task that runs in this folder every weekday at 8 am. The job: move the files that came into the “Inbox Files” folder yesterday into folders by type, and add the list of moved files to “sort-log.md”. Don’t delete anything.

Illustration (may look a little different from the real screen)

Create a scheduled task that runs in this folder every weekday at 8 am. The job: move the files that came into the "Inbox Files" folder yesterday into folders by type, and add the list of moved files to "sort-log.md". Don't delete anything.

Sample replyI created the scheduled task "daily-file-sort".
• Weekdays at 8:00 am
• Folder: Inbox Files

Shall I run it once now to check permissions?

Way 1: ask in plain words and a scheduled task gets made

To create one from the menu, click Scheduled → New task on the left of the Code tab. Choose a name, the job, the folder, and the time (Daily, Weekdays, Weekly, etc.). When the menu appears, choose Set up manually, and in Advanced settings turn on Only on this computer so it runs in your computer’s folder (on a screen that asks Local or Cloud, choose Local). If you don’t, it becomes a cloud task and can’t see your files. On older screens it may say Routines.

Important: after creating it, run it once with Run now, and when it asks for permission, choose “Always allow.” That way it won’t stop and wait for permission when it runs by itself in the morning.

Way 2. In the cloud

For jobs that need to run even when your computer is off (e.g. organizing the news every morning, checking connected services), make a cloud scheduled task. In Claude Code in the terminal, type /schedule, or choose Cloud on the scheduled tasks screen in the Claude app.

Way 3. Repeat only while it’s open

/loop repeats at short intervals only while Claude Code is open. For example: /loop 30m Check my inbox and tell me if anything is urgent. It ends on its own after 7 days.

Where people get stuck

Lots of people get stuck here. Find the one that matches your situation!

“It didn’t run this morning”

Your computer was probably asleep. Closing a laptop’s lid puts it to sleep. A missed task runs once when the computer wakes up. You can turn on “Keep computer awake” in the settings.

“The task is stuck waiting for permission”

Click into that run on the scheduled tasks screen and you can answer the permission request. Choose “Always allow” so it doesn’t stop next time.

“I want it to stop”

On the scheduled tasks screen, switch it to Paused or click Delete.

“I want to see more examples”

Try a morning briefing every day and a weekly report draft.

Next tip

How connecting other services works (MCP) →

I'm stuck here

Stuck while following along? Tell me where. Only the site owner sees this. Leave your email only if you'd like a reply.