# How to run Claude Code on a schedule

> Run Claude Code on a schedule with Moso. A Claude Code scheduled task picks up your messages and the tasks Claude can do alone, then reports back.

Source: https://www.moso.so/docs/claude-code-on-a-schedule
Last updated: 2026-11-17

To run Claude Code on a schedule, you need a Claude Code scheduled task and a place it can read the current work from. Moso, a goals, tasks and memory app that connects to Claude through MCP, gives you both: from Moso's Claude page you set up a scheduled task pointed at Moso, and each run picks up your messages and the tasks you marked **Claude can do this alone**, most urgent first, works through them and reports back to Moso. Runs happen in the cloud on your own Claude plan, without you opening a chat. A run never merges into production, deletes, pays or sends things to people. A run with nothing to do ends at once, so an idle schedule doesn't use up your Claude plan.

## Why stale scheduled runs happen

A scheduled task repeats the same instructions every time it fires. If those instructions name the work, they go out of date as soon as your priorities change, and someone has to edit them by hand. Like every Claude chat, each run also starts from zero, so it doesn't know what the last run did or what you decided since. And a run with nothing useful to do still starts. The fix is to keep the instructions fixed and point them at a place where your current work lives.

## How to do it with Moso

1. **Check your Claude plan.** You need a plan with Claude Code scheduled tasks: Pro, Max, Team or Enterprise.
2. **Connect Moso to Claude.** Add Moso as a connector and paste the setup text, as described in [Connect Claude](https://www.moso.so/docs/connect-claude). In Claude Code, the [Moso plugin](https://www.moso.so/docs/claude-code) brings its own Moso connector.
3. **Create the scheduled task.** In Moso, open **Claude** in the sidebar, go to the **Setup** tab and click **Connect Claude**. Claude Code opens with a short prompt typed in. Press Enter and Claude creates the scheduled task for you. Paste the key Claude gives you back into Moso and click **Save key**.
4. **Give it a schedule.** In Claude, add a schedule to the scheduled task (every morning, for example) so it runs on its own. To set it up by hand instead: at claude.ai/code, make a scheduled task named **Moso**, paste the instructions from Moso's Setup tab, set the trigger to **API**, pick a repository and make sure the Moso connector is on.
5. **Choose what Claude may do alone.** Open a task and switch on **Claude can do this alone**. Moso suggests it for new tasks Claude could do, but a choice you made always stays. Scheduled runs only pick tasks marked this way. See [Checklists and tasks](https://www.moso.so/docs/checklists-and-tasks).
6. **Read the reports.** Each run shows as its own chat in Moso ("Claude run · 07:00") with Claude's report.

You don't have to wait for the schedule. You can also start a run with **Start** on a checklist, by picking up to 10 tasks under **Tasks for Claude** on the Claude page, with **Start Claude tonight** after a [Brain Dump](https://www.moso.so/docs/brain-dump), or from a chat with Moso's AI with the Claude switch on. See [Scheduled runs](https://www.moso.so/docs/scheduled-runs).

## What changes

- **Before:** you open Claude Code and type what to do. **After:** Claude starts on its own and picks up your messages and the tasks marked for it, most urgent first.
- **Before:** the scheduled prompt lists the work and goes stale. **After:** the instructions stay the same, and you change the work by marking tasks in Moso.
- **Before:** an idle schedule runs anyway. **After:** a run with nothing to do ends at once, so an idle schedule doesn't use up your Claude plan. There's no limit on how many runs start in a day.
- **Before:** you open each session to see what happened. **After:** every run is its own chat in Moso, and the **Now doing** bar in Moso's sidebar shows what each Claude is working on.
- **Before:** you can't be sure what an unattended run will touch. **After:** a run never does logins, payments, merging or deploying to production, deleting, publishing or sending things to people. Those go to **Needs you** with an urgent report, and your phone gets up to 3 pushes.

## Questions

### What Claude plan do I need to run Claude Code on a schedule?

A Claude plan with Claude Code scheduled tasks: Pro, Max, Team or Enterprise. The runs use your own Claude plan and happen in the cloud.

### Does a scheduled run use Moso's AI?

No. The run is Claude, on your own Claude plan. Only Moso's AI (answering Claude's questions, checking tasks) uses your [weekly AI](https://www.moso.so/docs/moso-ai#weekly-ai).

### Can a scheduled Claude Code run merge or deploy my code?

Only as your merging setting allows. The default is **Claude merges into production once Moso approves**: Claude asks Moso, its reviewer, about each finished pull request, and merges the ones Moso approves itself once every check passes (until you add a GitHub token, they wait for you). Moso itself never merges. See [Claude settings](https://www.moso.so/docs/claude-settings#merging).

### Can a scheduled run work with files on my computer?

Runs happen in the cloud. Turn on **Computer work** under **Claude on your computer** in the Setup tab, and Moso can hand the computer-only part to a Claude running on your computer, with the Claude desktop app open and the computer awake. With it off, that part becomes a card you send to Cowork yourself.

[Start your 7-day trial](https://www.moso.so/apply) to set it up, or read [Scheduled runs](https://www.moso.so/docs/scheduled-runs) for every option.
