Schedule recurring tasks in Claude Code Desktop
--- a/desktop-scheduled-tasks.md
+++ b/desktop-scheduled-tasks.md
@@ -84,13 +84,13 @@
In the instructions box’s toolbar, select a permission mode and model.
* **Permission mode** : if you leave it unchanged, runs use your Claude Code settings.
- * **Model** : if the model menu reads **Default · Set by admin** and you don’t pick another model, runs use the model your organization set in [managed settings](</docs/en/managed-settings>). A catch-up run that starts as the app opens can use the [runtime default for your account](</docs/en/model-config#default-model-setting>) instead.
+ * **Model** : when **Only on this computer** is on and your account can use a model your organization set in [managed settings](</docs/en/managed-settings>), the menu button shows **Default** and that model’s name. For example, if your organization set Sonnet 4.6, you see **Default · Sonnet 4.6**. Where Desktop can’t name the model, the button reads **Default · Set by admin** instead. If you then keep **Default** , Desktop starts runs with your organization’s model. A catch-up run that starts as the app opens can use the [runtime default for your account](</docs/en/model-config#default-model-setting>) instead.
9
Create the task
-Click **Create**. If you haven’t trusted the folder yet, Desktop asks you to trust it at this point. The task’s detail page opens.To see which model **Default · Set by admin** stands for, click **Run now** on the detail page to run the task at once. Then open the run’s session, where the row under the prompt box shows the model’s name.
+Click **Create**. If you haven’t trusted the folder yet, Desktop asks you to trust it at this point. The task’s detail page opens.If the model menu read **Default · Set by admin** and you want the model’s name, click **Run now** on the detail page to run the task at once. Then open the run’s session, where the row under the prompt box shows the model’s name.
On the detail page, click the pencil icon to open the **Edit** form. There you can change the **Description** that Desktop filled in from your instructions, select **Worktree** , or switch the schedule to **Manual** or **Custom**. You can also create a task by describing what you want in any session. For example, “set up a daily code review that runs every morning at 9am” creates a recurring task. A request like “remind me at 3pm tomorrow to check the deploy” creates a one-time task that disables itself after it fires.
--- a/desktop-scheduled-tasks.md
+++ b/desktop-scheduled-tasks.md
@@ -136,6 +136,8 @@
For tasks that need to run even when your computer is off, or that should trigger on an API call or GitHub event, create a [cloud scheduled task](</docs/en/routines>) instead.
+If a task’s model [requires usage credits](</docs/en/model-config#fable-and-usage-credits>) on your plan, Desktop can skip its runs, including **Run now**. To run the task again, open its detail page, then switch the model or choose to continue with usage credits.
+
### Find a run’s session
To open the session a run started, go to the task’s detail page and click that run’s row in the **History** list. The sidebar’s session list can show a **Scheduled** group as well, with one row per task. To open the session of a task’s latest run, click the task’s row in that group. To show the group, [check which layout you have](</docs/en/desktop#check-which-layout-you-have>):
@@ -143,7 +145,7 @@
* **Current layout** : open the [**Group and sort** menu](</docs/en/desktop#organize-and-find-sessions>), select **Show** , then select **Scheduled**. The group starts collapsed, so click its heading to expand it.
* **Earlier layout** : the group is in the session list with nothing to turn on
-In a run’s session, whichever way you reached it, you can see what Claude did, review changes, and respond to permission prompts. Claude can edit files, run commands, create commits, and open pull requests, the same as in a session you start yourself.
+In a run’s session, you can see what Claude did, review changes, and respond to permission prompts.
## Missed runs
@@ -158,7 +160,7 @@
In the **Code** tab, click **Scheduled** in the sidebar, then click a task in the list to open its detail page. From here you can:
* **Run now** : start the task immediately without waiting for the next scheduled time
- * **Status** : toggle between Active and Paused to pause or resume scheduled runs without deleting the task
+ * **Status** : toggle between Active and Paused to pause or resume scheduled runs
* **Edit** : change the instructions, schedule, folder, or other settings
* **Review history** : see every past run, including skipped runs. Hover a skipped entry to see why: your computer was asleep, the previous run was still in progress, or other scheduled tasks were already running. Click **Show more** to load older entries.
* **Review allowed permissions** : see and revoke saved tool approvals for this task from the **Always allowed** panel
--- a/desktop-scheduled-tasks.md
+++ b/desktop-scheduled-tasks.md
@@ -170,6 +170,8 @@
* **Let a task update itself** : for a task to change its own schedule or prompt with the `update_scheduled_task` MCP tool, click **Run now** and approve the call each time
* **Edit the prompt on disk** : open `~/.claude/scheduled-tasks/<task-name>/SKILL.md`, or `scheduled-tasks/<task-name>/SKILL.md` under [`CLAUDE_CONFIG_DIR`](</docs/en/env-vars>) if you set that variable. The file uses YAML frontmatter for `name` and `description`, with the prompt as the body. Changes take effect on the next run. Schedule, folder, and enabled state are not in this file: change them through the Edit form or ask Claude.
+If a local one-time task that has already run isn’t on the **Scheduled tasks** page, click the sort icon above the list and select **Include completed**.
+
## Related resources
* [Cloud scheduled tasks](</docs/en/routines>): run tasks in the cloud on a schedule, via API call, or in response to GitHub events, even when your computer is off
--- a/desktop-scheduled-tasks.md
+++ b/desktop-scheduled-tasks.md
@@ -140,7 +140,7 @@
To open the session a run started, go to the task’s detail page and click that run’s row in the **History** list. The sidebar’s session list can show a **Scheduled** group as well, with one row per task. To open the session of a task’s latest run, click the task’s row in that group. To show the group, [check which layout you have](</docs/en/desktop#check-which-layout-you-have>):
- * **Current layout** : open the [**Group and sort** menu](</docs/en/desktop#organize-and-find-sessions>), select **Show** , then select **Scheduled**. The group starts collapsed, so click its heading to expand it. **Show** lists **Scheduled** when at least one of your tasks is **Active** , the **Status** a task’s detail page shows. If it isn’t listed, use the **History** list, which works whether or not the group shows.
+ * **Current layout** : open the [**Group and sort** menu](</docs/en/desktop#organize-and-find-sessions>), select **Show** , then select **Scheduled**. The group starts collapsed, so click its heading to expand it.
* **Earlier layout** : the group is in the session list with nothing to turn on
In a run’s session, whichever way you reached it, you can see what Claude did, review changes, and respond to permission prompts. Claude can edit files, run commands, create commits, and open pull requests, the same as in a session you start yourself.
--- a/desktop-scheduled-tasks.md
+++ b/desktop-scheduled-tasks.md
@@ -164,7 +164,11 @@
* **Review allowed permissions** : see and revoke saved tool approvals for this task from the **Always allowed** panel
* **Delete** : remove the task. The sessions the task created are [archived](</docs/en/desktop#organize-and-find-sessions>), not deleted. The folder holding the task’s `SKILL.md` file stays on disk at `~/.claude/scheduled-tasks/<task-name>/`, or at `scheduled-tasks/<task-name>/` under [`CLAUDE_CONFIG_DIR`](</docs/en/env-vars>) if you set that variable. To remove that folder, delete it yourself.
-You can also list, create, edit, and pause tasks by asking Claude in any Desktop session. For example, “pause my dependency-audit task” or “show me my scheduled tasks.” To delete a task, use the **Delete** button on its detail page. To let a task change its own schedule or prompt with the `update_scheduled_task` MCP tool, click **Run now** and approve the call each time. To edit a task’s prompt on disk, open `~/.claude/scheduled-tasks/<task-name>/SKILL.md` (or under [`CLAUDE_CONFIG_DIR`](</docs/en/env-vars>) if set). The file uses YAML frontmatter for `name` and `description`, with the prompt as the body. Changes take effect on the next run. Schedule, folder, and enabled state are not in this file: change them through the Edit form or ask Claude.
+You can also manage tasks by asking Claude, letting a task update itself, or editing a task’s prompt on disk:
+
+ * **Ask Claude** : list, create, edit, and pause tasks by asking Claude in any Desktop session. For example, “pause my dependency-audit task” or “show me my scheduled tasks.” To delete a task, use the **Delete** button on its detail page.
+ * **Let a task update itself** : for a task to change its own schedule or prompt with the `update_scheduled_task` MCP tool, click **Run now** and approve the call each time
+ * **Edit the prompt on disk** : open `~/.claude/scheduled-tasks/<task-name>/SKILL.md`, or `scheduled-tasks/<task-name>/SKILL.md` under [`CLAUDE_CONFIG_DIR`](</docs/en/env-vars>) if you set that variable. The file uses YAML frontmatter for `name` and `description`, with the prompt as the body. Changes take effect on the next run. Schedule, folder, and enabled state are not in this file: change them through the Edit form or ask Claude.
## Related resources
Show diff (153 lines)
--- a/desktop-scheduled-tasks.md
+++ b/desktop-scheduled-tasks.md
@@ -7,11 +7,7 @@
If your app shows the feature under its [earlier name](</docs/en/routines#where-the-name-routines-still-appears>), click **Routines** wherever this page says **Scheduled** and **New routine** where it says **New task**.
-##
-
-
-
-Compare scheduling options
+## Compare scheduling options
Claude Code offers three ways to schedule recurring or one-off work:
@@ -31,11 +27,7 @@
By default, local scheduled tasks run against whatever state your working directory is in, including uncommitted changes. To give each run its own [isolated Git worktree](</docs/en/desktop#run-a-session-in-its-own-worktree>) instead, select **Worktree** in the task’s **Edit** form after you create it. The checkbox is available when the task’s folder is a Git repository.
-##
-
-
-
-Create a scheduled task
+## Create a scheduled task
Local scheduled tasks require Claude Desktop 1.1.5368 or later.
@@ -89,21 +81,20 @@
Choose the permission mode and model
-In the instructions box’s toolbar, select a permission mode and model. If you leave them unchanged, runs use your Claude Code settings and the default model.
+In the instructions box’s toolbar, select a permission mode and model.
+
+ * **Permission mode** : if you leave it unchanged, runs use your Claude Code settings.
+ * **Model** : if the model menu reads **Default · Set by admin** and you don’t pick another model, runs use the model your organization set in [managed settings](</docs/en/managed-settings>). A catch-up run that starts as the app opens can use the [runtime default for your account](</docs/en/model-config#default-model-setting>) instead.
9
Create the task
-Click **Create**. If you haven’t trusted the folder yet, Desktop asks you to trust it at this point. The task’s detail page opens.
+Click **Create**. If you haven’t trusted the folder yet, Desktop asks you to trust it at this point. The task’s detail page opens.To see which model **Default · Set by admin** stands for, click **Run now** on the detail page to run the task at once. Then open the run’s session, where the row under the prompt box shows the model’s name.
On the detail page, click the pencil icon to open the **Edit** form. There you can change the **Description** that Desktop filled in from your instructions, select **Worktree** , or switch the schedule to **Manual** or **Custom**. You can also create a task by describing what you want in any session. For example, “set up a daily code review that runs every morning at 9am” creates a recurring task. A request like “remind me at 3pm tomorrow to check the deploy” creates a one-time task that disables itself after it fires.
-###
-
-
-
-Dialog with Only on this computer at the top
+### Dialog with Only on this computer at the top
If **Only on this computer** is at the top of the **New scheduled task** dialog when it opens, turn it on before you enter anything. When you turn it on, a separate blank form for a local task replaces the form. Then fill in the local form’s fields:
@@ -115,11 +106,7 @@
Click **Create**. The task’s detail page opens.
-###
-
-
-
-Full-page form
+### Full-page form
If a menu with **Local** and **Cloud** opens, select **Local**. A page titled **New local routine** or **New local scheduled task** opens. Fill in its fields:
@@ -130,11 +117,7 @@
If **Create** is unavailable, hover over it to see what the form still needs. Click **Create** , and the task’s detail page opens.
-##
-
-
-
-Schedule options
+## Schedule options
When you turn on **Only on this computer** under **Advanced settings** , the **Trigger** card offers Hourly, Daily, Weekdays, and Weekly. To get **Manual** or **Custom** for such a task, open its **Edit** form after you create it. That form, the dialog with **Only on this computer** at the top, and the full-page form offer these six options:
@@ -147,21 +130,13 @@
You can also ask Claude in any Desktop session to set the schedule. Claude isn’t held to the once-per-hour limit and can set a single run at a future time. For example, ask “run the test suite every 30 minutes” or “next Monday at 9am, summarize the pull requests merged since Friday.”
-##
-
-
-
-How scheduled tasks run
+## How scheduled tasks run
Local scheduled tasks run on your machine. Desktop checks the schedule every minute while the app is open and starts a fresh session when a task is due, independent of any manual sessions you have open. Each task gets a small delay of a few minutes after the scheduled time to stagger API traffic. The delay is deterministic: the same task always starts at the same offset. Tasks only run while the desktop app is running and your computer is awake. If your computer sleeps through a scheduled time, the run is skipped. To prevent idle-sleep, turn on **Keep computer awake** in **Settings > Desktop app** or **Settings > This computer > System**. Closing the laptop lid still puts it to sleep.
For tasks that need to run even when your computer is off, or that should trigger on an API call or GitHub event, create a [cloud scheduled task](</docs/en/routines>) instead.
-###
-
-
-
-Find a run’s session
+### Find a run’s session
To open the session a run started, go to the task’s detail page and click that run’s row in the **History** list. The sidebar’s session list can show a **Scheduled** group as well, with one row per task. To open the session of a task’s latest run, click the task’s row in that group. To show the group, [check which layout you have](</docs/en/desktop#check-which-layout-you-have>):
@@ -170,27 +145,15 @@
In a run’s session, whichever way you reached it, you can see what Claude did, review changes, and respond to permission prompts. Claude can edit files, run commands, create commits, and open pull requests, the same as in a session you start yourself.
-##
-
-
-
-Missed runs
+## Missed runs
When the app starts or your computer wakes, Desktop checks whether each task missed any runs in the last seven days. If it did, Desktop starts exactly one catch-up run for the most recently missed time and discards anything older. A daily task that missed six days runs once on wake. Desktop shows a notification when a catch-up run starts. Keep this in mind when writing prompts. A task scheduled for 9am might run at 11pm if your computer was asleep all day. If timing matters, add guardrails to the prompt itself, for example: “Only review today’s commits. If it’s after 5pm, skip the review and post a summary of what was missed.”
-##
-
-
-
-Permissions for scheduled tasks
+## Permissions for scheduled tasks
Each task has its own [permission mode](</docs/en/desktop#choose-a-permission-mode>), which you set when creating or editing the task. Allow rules from `~/.claude/settings.json` also apply to scheduled task sessions. When a run is stalled on a permission prompt, find the run’s session and answer the prompt there. To avoid stalls, click **Run now** after creating a task, watch for permission prompts, and select “always allow” for each one. Future runs skip most of those prompts. You can review and revoke these approvals from the task’s detail page. If you select “always allow” on a file edit in the task’s folder, only that session moves to **Accept edits** , so set the task’s permission mode to **Accept edits**. MCP tools marked [`requiresUserInteraction`](</docs/en/mcp#require-approval-for-a-specific-tool>) prompt on every call and don’t offer an always-allow option. Runs that call these tools stall each time.
-##
-
-
-
-Manage scheduled tasks
+## Manage scheduled tasks
In the **Code** tab, click **Scheduled** in the sidebar, then click a task in the list to open its detail page. From here you can:
@@ -201,13 +164,9 @@
* **Review allowed permissions** : see and revoke saved tool approvals for this task from the **Always allowed** panel
* **Delete** : remove the task. The sessions the task created are [archived](</docs/en/desktop#organize-and-find-sessions>), not deleted. The folder holding the task’s `SKILL.md` file stays on disk at `~/.claude/scheduled-tasks/<task-name>/`, or at `scheduled-tasks/<task-name>/` under [`CLAUDE_CONFIG_DIR`](</docs/en/env-vars>) if you set that variable. To remove that folder, delete it yourself.
-You can also list, create, edit, and pause tasks by asking Claude in any Desktop session. For example, “pause my dependency-audit task” or “show me my scheduled tasks.” To delete a task, use the **Delete** button on its detail page. To let a task change its own schedule or prompt with the `update_scheduled_task` MCP tool, click **Run now** and approve the call each time. To edit a task’s prompt on disk, open `~/.claude/scheduled-tasks/<task-name>/SKILL.md` (or under [`CLAUDE_CONFIG_DIR`](</docs/en/env-vars>) if set). The file uses YAML frontmatter for `name` and `description`, with the prompt as the body. Changes take effect on the next run. Schedule, folder, model, and enabled state are not in this file: change them through the Edit form or ask Claude.
+You can also list, create, edit, and pause tasks by asking Claude in any Desktop session. For example, “pause my dependency-audit task” or “show me my scheduled tasks.” To delete a task, use the **Delete** button on its detail page. To let a task change its own schedule or prompt with the `update_scheduled_task` MCP tool, click **Run now** and approve the call each time. To edit a task’s prompt on disk, open `~/.claude/scheduled-tasks/<task-name>/SKILL.md` (or under [`CLAUDE_CONFIG_DIR`](</docs/en/env-vars>) if set). The file uses YAML frontmatter for `name` and `description`, with the prompt as the body. Changes take effect on the next run. Schedule, folder, and enabled state are not in this file: change them through the Edit form or ask Claude.
-##
-
-
-
-Related resources
+## Related resources
* [Cloud scheduled tasks](</docs/en/routines>): run tasks in the cloud on a schedule, via API call, or in response to GitHub events, even when your computer is off
* [Run prompts on a schedule](</docs/en/scheduled-tasks>): session-scoped scheduling with `/loop` in the CLI
--- a/desktop-scheduled-tasks.md
+++ b/desktop-scheduled-tasks.md
@@ -184,7 +184,7 @@
Permissions for scheduled tasks
-Each task has its own permission mode, which you set when creating or editing the task. Allow rules from `~/.claude/settings.json` also apply to scheduled task sessions. If a task runs in [Manual mode](</docs/en/desktop#choose-a-permission-mode>) and needs to run a tool it doesn’t have permission for, the run stalls until you approve it. To approve it, find the run’s session and answer the permission prompt there. To avoid stalls, click **Run now** after creating a task, watch for permission prompts, and select “always allow” for each one. Future runs of that task auto-approve the same tools without prompting. You can review and revoke these approvals from the task’s detail page. MCP tools marked [`requiresUserInteraction`](</docs/en/mcp#require-approval-for-a-specific-tool>) prompt on every call and don’t offer an always-allow option. Runs that call these tools stall each time.
+Each task has its own [permission mode](</docs/en/desktop#choose-a-permission-mode>), which you set when creating or editing the task. Allow rules from `~/.claude/settings.json` also apply to scheduled task sessions. When a run is stalled on a permission prompt, find the run’s session and answer the prompt there. To avoid stalls, click **Run now** after creating a task, watch for permission prompts, and select “always allow” for each one. Future runs skip most of those prompts. You can review and revoke these approvals from the task’s detail page. If you select “always allow” on a file edit in the task’s folder, only that session moves to **Accept edits** , so set the task’s permission mode to **Accept edits**. MCP tools marked [`requiresUserInteraction`](</docs/en/mcp#require-approval-for-a-specific-tool>) prompt on every call and don’t offer an always-allow option. Runs that call these tools stall each time.
##
@@ -201,7 +201,7 @@
* **Review allowed permissions** : see and revoke saved tool approvals for this task from the **Always allowed** panel
* **Delete** : remove the task. The sessions the task created are [archived](</docs/en/desktop#organize-and-find-sessions>), not deleted. The folder holding the task’s `SKILL.md` file stays on disk at `~/.claude/scheduled-tasks/<task-name>/`, or at `scheduled-tasks/<task-name>/` under [`CLAUDE_CONFIG_DIR`](</docs/en/env-vars>) if you set that variable. To remove that folder, delete it yourself.
-You can also list, create, edit, and pause tasks by asking Claude in any Desktop session. For example, “pause my dependency-audit task” or “show me my scheduled tasks.” To delete a task, use the **Delete** button on its detail page. A scheduled task can also modify its own schedule or prompt from within a running session using the `update_scheduled_task` MCP tool. This lets a task reschedule itself based on what it finds, for example, rescheduling a code review to run earlier when it detects a release branch has been created. To edit a task’s prompt on disk, open `~/.claude/scheduled-tasks/<task-name>/SKILL.md` (or under [`CLAUDE_CONFIG_DIR`](</docs/en/env-vars>) if set). The file uses YAML frontmatter for `name` and `description`, with the prompt as the body. Changes take effect on the next run. Schedule, folder, model, and enabled state are not in this file: change them through the Edit form or ask Claude.
+You can also list, create, edit, and pause tasks by asking Claude in any Desktop session. For example, “pause my dependency-audit task” or “show me my scheduled tasks.” To delete a task, use the **Delete** button on its detail page. To let a task change its own schedule or prompt with the `update_scheduled_task` MCP tool, click **Run now** and approve the call each time. To edit a task’s prompt on disk, open `~/.claude/scheduled-tasks/<task-name>/SKILL.md` (or under [`CLAUDE_CONFIG_DIR`](</docs/en/env-vars>) if set). The file uses YAML frontmatter for `name` and `description`, with the prompt as the body. Changes take effect on the next run. Schedule, folder, model, and enabled state are not in this file: change them through the Edit form or ask Claude.
##
--- a/desktop-scheduled-tasks.md
+++ b/desktop-scheduled-tasks.md
@@ -153,7 +153,7 @@
How scheduled tasks run
-Local scheduled tasks run on your machine. Desktop checks the schedule every minute while the app is open and starts a fresh session when a task is due, independent of any manual sessions you have open. Each task gets a small delay of a few minutes after the scheduled time to stagger API traffic. The delay is deterministic: the same task always starts at the same offset. Tasks only run while the desktop app is running and your computer is awake. If your computer sleeps through a scheduled time, the run is skipped. To prevent idle-sleep, turn on **Keep computer awake** in **Settings > This computer > System**. Closing the laptop lid still puts it to sleep.
+Local scheduled tasks run on your machine. Desktop checks the schedule every minute while the app is open and starts a fresh session when a task is due, independent of any manual sessions you have open. Each task gets a small delay of a few minutes after the scheduled time to stagger API traffic. The delay is deterministic: the same task always starts at the same offset. Tasks only run while the desktop app is running and your computer is awake. If your computer sleeps through a scheduled time, the run is skipped. To prevent idle-sleep, turn on **Keep computer awake** in **Settings > Desktop app** or **Settings > This computer > System**. Closing the laptop lid still puts it to sleep.
For tasks that need to run even when your computer is off, or that should trigger on an API call or GitHub event, create a [cloud scheduled task](</docs/en/routines>) instead.
--- a/desktop-scheduled-tasks.md
+++ b/desktop-scheduled-tasks.md
@@ -4,6 +4,8 @@
* **Cloud task** : runs even when your computer is off, and can also start on API calls or GitHub events
This page covers local scheduled tasks; for cloud scheduled tasks and their trigger options, see [Automate work with scheduled tasks](</docs/en/routines>).
+
+If your app shows the feature under its [earlier name](</docs/en/routines#where-the-name-routines-still-appears>), click **Routines** wherever this page says **Scheduled** and **New routine** where it says **New task**.
##
@@ -41,13 +43,17 @@
Open the Scheduled tasks page
-In the [**Code** tab](</docs/en/desktop>), click **Scheduled** in the sidebar or in the sidebar’s **More** menu.
+In the [**Code** tab](</docs/en/desktop>), click **Scheduled** in the sidebar or in the sidebar’s **More** menu. If the sidebar shows **Routines** instead of **Scheduled** , click **Routines** , then click **New routine** , and continue with Full-page form.
2
Start a new task
-Click **New task**. If a menu opens with **Create with Claude** and **Set up manually** , select **Set up manually**. The **New scheduled task** dialog opens. If **Only on this computer** is at the top of the dialog, go to Dialog with Only on this computer at the top before you enter anything.
+Click **New task** to open the **New scheduled task** dialog. Check for these screens before you continue:
+
+ * If a menu opens with **Create with Claude** and **Set up manually** , select **Set up manually** to open the dialog.
+ * If **Only on this computer** is at the top of the dialog, go to Dialog with Only on this computer at the top before you enter anything.
+ * If a menu with **Local** and **Cloud** opens, or a full page opens in place of the dialog, go to Full-page form.
3
@@ -109,13 +115,28 @@
Click **Create**. The task’s detail page opens.
+###
+
+
+
+Full-page form
+
+If a menu with **Local** and **Cloud** opens, select **Local**. A page titled **New local routine** or **New local scheduled task** opens. Fill in its fields:
+
+ * **Name** : enter a name that is unique across your tasks.
+ * **Description** : enter one.
+ * **Instructions** : enter what Claude should do when the task runs. In the same box, select the permission mode, the model, and the folder the task runs in.
+ * **Schedule** : select one of the schedule options.
+
+If **Create** is unavailable, hover over it to see what the form still needs. Click **Create** , and the task’s detail page opens.
+
##
Schedule options
-When you turn on **Only on this computer** under **Advanced settings** , the **Trigger** card offers Hourly, Daily, Weekdays, and Weekly. To get **Manual** or **Custom** for such a task, open its **Edit** form after you create it. That form and the dialog with **Only on this computer** at the top offer these six options:
+When you turn on **Only on this computer** under **Advanced settings** , the **Trigger** card offers Hourly, Daily, Weekdays, and Weekly. To get **Manual** or **Custom** for such a task, open its **Edit** form after you create it. That form, the dialog with **Only on this computer** at the top, and the full-page form offer these six options:
* **Hourly** : runs every hour
* **Daily** : runs every day at the local time you pick
--- a/desktop-scheduled-tasks.md
+++ b/desktop-scheduled-tasks.md
@@ -21,7 +21,7 @@
Persistent across restarts| Yes| Yes| Restored on `--resume`, with [exceptions](</docs/en/scheduled-tasks#limitations>)
Access to local files| No (fresh clone)| Yes| Yes
MCP servers| Connectors configured per task| [Config files](</docs/en/mcp>) and connectors| Inherits from session
-Permission prompts| No (runs autonomously)| Configurable per task| Inherits from session
+Permission prompts| [Auto mode](</docs/en/routines#permission-prompts-during-a-run>) by default| Configurable per task| Inherits from session
Customizable schedule| Yes| Yes| Yes
Minimum interval| 1 hour| 1 minute when Claude sets it, [1 hour in the forms](</docs/en/desktop-scheduled-tasks#schedule-options>)| 1 minute
--- a/desktop-scheduled-tasks.md
+++ b/desktop-scheduled-tasks.md
@@ -22,8 +22,8 @@
Access to local files| No (fresh clone)| Yes| Yes
MCP servers| Connectors configured per task| [Config files](</docs/en/mcp>) and connectors| Inherits from session
Permission prompts| No (runs autonomously)| Configurable per task| Inherits from session
-Customizable schedule| Via `/schedule` in the CLI| Yes| Yes
-Minimum interval| 1 hour| 1 minute| 1 minute
+Customizable schedule| Yes| Yes| Yes
+Minimum interval| 1 hour| 1 minute when Claude sets it, [1 hour in the forms](</docs/en/desktop-scheduled-tasks#schedule-options>)| 1 minute
Use **cloud tasks** for work that should run reliably without your machine. Use **Desktop tasks** when you need access to local files and tools. Use **`/loop`** for quick polling during a session.
@@ -65,7 +65,7 @@
Turn on Only on this computer
-Skip past the **Trigger** card for now and expand **Advanced settings** below it. On the **General** tab, turn on **Only on this computer**. With it on, the task runs on your machine in a local folder, and the **Trigger** card offers the presets listed in Schedule options.If the switch is unavailable, clear the repository or the GitHub event or API trigger, because those make the task a [cloud scheduled task](</docs/en/routines>).
+Skip past the **Trigger** card for now and expand **Advanced settings** below it. On the **General** tab, turn on **Only on this computer**. With it on, the task runs on your machine in a local folder.If the switch is unavailable, clear the repository or the GitHub event or API trigger, because those make the task a [cloud scheduled task](</docs/en/routines>).
6
@@ -91,7 +91,7 @@
Click **Create**. If you haven’t trusted the folder yet, Desktop asks you to trust it at this point. The task’s detail page opens.
-On the detail page, click the pencil icon to open the **Edit** form. There you can change the **Description** that Desktop filled in from your instructions, select **Worktree** , or switch the schedule to **Manual**. You can also create a task by describing what you want in any session. For example, “set up a daily code review that runs every morning at 9am” creates a recurring task. A request like “remind me at 3pm tomorrow to check the deploy” creates a one-time task that disables itself after it fires.
+On the detail page, click the pencil icon to open the **Edit** form. There you can change the **Description** that Desktop filled in from your instructions, select **Worktree** , or switch the schedule to **Manual** or **Custom**. You can also create a task by describing what you want in any session. For example, “set up a daily code review that runs every morning at 9am” creates a recurring task. A request like “remind me at 3pm tomorrow to check the deploy” creates a one-time task that disables itself after it fires.
###
@@ -105,7 +105,7 @@
* **Description** : enter a description. **Create** stays unavailable until you do.
* **The instructions box** : enter what Claude should do when the task runs. Select the permission mode and model from the menus in the box.
* **Working folder** : select the folder the task runs in. **Create** stays unavailable until you select one.
- * **Trigger** : select a schedule. **Custom** takes a cron expression. For the other presets, see Schedule options.
+ * **Trigger** : select a schedule. For the presets, see Schedule options.
Click **Create**. The task’s detail page opens.
@@ -115,15 +115,16 @@
Schedule options
-When you turn on **Only on this computer** under **Advanced settings** , the **Trigger** card offers Hourly, Daily, Weekdays, and Weekly. The task’s **Edit** form also offers **Manual**.
+When you turn on **Only on this computer** under **Advanced settings** , the **Trigger** card offers Hourly, Daily, Weekdays, and Weekly. To get **Manual** or **Custom** for such a task, open its **Edit** form after you create it. That form and the dialog with **Only on this computer** at the top offer these six options:
* **Hourly** : runs every hour
* **Daily** : runs every day at the local time you pick
* **Weekdays** : same as Daily but skips Saturday and Sunday
* **Weekly** : shows a time picker and a day picker
* **Manual** : no schedule, only runs when you click **Run now**. Useful for saving a prompt you trigger on demand
+ * **Custom** : runs on a cron expression that you enter and that is evaluated in your local time, such as `0 9 * * *` for 9:00 AM each day. Write days of the week and months as numbers, since their names aren’t accepted. Sunday is `0`, not `7`. The form rejects an expression that runs more often than once per hour.
-For intervals the picker doesn’t offer, such as every 15 minutes, the first of each month, or a single run at a specific future time, ask Claude in any Desktop session to set the schedule. Use plain language; for example, “schedule a task to run all the tests every 6 hours.”
+You can also ask Claude in any Desktop session to set the schedule. Claude isn’t held to the once-per-hour limit and can set a single run at a future time. For example, ask “run the test suite every 30 minutes” or “next Monday at 9am, summarize the pull requests merged since Friday.”
##
@@ -135,7 +136,18 @@
For tasks that need to run even when your computer is off, or that should trigger on an API call or GitHub event, create a [cloud scheduled task](</docs/en/routines>) instead.
-When a local task fires, a new session appears under a **Scheduled** section in the sidebar. Open it to see what Claude did, review changes, or respond to permission prompts. Claude can edit files, run commands, create commits, and open pull requests, the same as in a session you start yourself.
+###
+
+
+
+Find a run’s session
+
+To open the session a run started, go to the task’s detail page and click that run’s row in the **History** list. The sidebar’s session list can show a **Scheduled** group as well, with one row per task. To open the session of a task’s latest run, click the task’s row in that group. To show the group, [check which layout you have](</docs/en/desktop#check-which-layout-you-have>):
+
+ * **Current layout** : open the [**Group and sort** menu](</docs/en/desktop#organize-and-find-sessions>), select **Show** , then select **Scheduled**. The group starts collapsed, so click its heading to expand it. **Show** lists **Scheduled** when at least one of your tasks is **Active** , the **Status** a task’s detail page shows. If it isn’t listed, use the **History** list, which works whether or not the group shows.
+ * **Earlier layout** : the group is in the session list with nothing to turn on
+
+In a run’s session, whichever way you reached it, you can see what Claude did, review changes, and respond to permission prompts. Claude can edit files, run commands, create commits, and open pull requests, the same as in a session you start yourself.
##
@@ -151,7 +163,7 @@
Permissions for scheduled tasks
-Each task has its own permission mode, which you set when creating or editing the task. Allow rules from `~/.claude/settings.json` also apply to scheduled task sessions. If a task runs in [Manual mode](</docs/en/desktop#choose-a-permission-mode>) and needs to run a tool it doesn’t have permission for, the run stalls until you approve it. The session stays open in the sidebar so you can answer later. To avoid stalls, click **Run now** after creating a task, watch for permission prompts, and select “always allow” for each one. Future runs of that task auto-approve the same tools without prompting. You can review and revoke these approvals from the task’s detail page. MCP tools marked [`requiresUserInteraction`](</docs/en/mcp#require-approval-for-a-specific-tool>) prompt on every call and don’t offer an always-allow option. Runs that call these tools stall each time.
+Each task has its own permission mode, which you set when creating or editing the task. Allow rules from `~/.claude/settings.json` also apply to scheduled task sessions. If a task runs in [Manual mode](</docs/en/desktop#choose-a-permission-mode>) and needs to run a tool it doesn’t have permission for, the run stalls until you approve it. To approve it, find the run’s session and answer the permission prompt there. To avoid stalls, click **Run now** after creating a task, watch for permission prompts, and select “always allow” for each one. Future runs of that task auto-approve the same tools without prompting. You can review and revoke these approvals from the task’s detail page. MCP tools marked [`requiresUserInteraction`](</docs/en/mcp#require-approval-for-a-specific-tool>) prompt on every call and don’t offer an always-allow option. Runs that call these tools stall each time.
##
@@ -166,7 +178,7 @@
* **Edit** : change the instructions, schedule, folder, or other settings
* **Review history** : see every past run, including skipped runs. Hover a skipped entry to see why: your computer was asleep, the previous run was still in progress, or other scheduled tasks were already running. Click **Show more** to load older entries.
* **Review allowed permissions** : see and revoke saved tool approvals for this task from the **Always allowed** panel
- * **Delete** : remove the task and archive all sessions it created. An **Also delete files on disk** checkbox appears in the confirmation dialog; check it to also remove the task’s `SKILL.md` file and associated data from `~/.claude/scheduled-tasks/`.
+ * **Delete** : remove the task. The sessions the task created are [archived](</docs/en/desktop#organize-and-find-sessions>), not deleted. The folder holding the task’s `SKILL.md` file stays on disk at `~/.claude/scheduled-tasks/<task-name>/`, or at `scheduled-tasks/<task-name>/` under [`CLAUDE_CONFIG_DIR`](</docs/en/env-vars>) if you set that variable. To remove that folder, delete it yourself.
You can also list, create, edit, and pause tasks by asking Claude in any Desktop session. For example, “pause my dependency-audit task” or “show me my scheduled tasks.” To delete a task, use the **Delete** button on its detail page. A scheduled task can also modify its own schedule or prompt from within a running session using the `update_scheduled_task` MCP tool. This lets a task reschedule itself based on what it finds, for example, rescheduling a code review to run earlier when it detects a release branch has been created. To edit a task’s prompt on disk, open `~/.claude/scheduled-tasks/<task-name>/SKILL.md` (or under [`CLAUDE_CONFIG_DIR`](</docs/en/env-vars>) if set). The file uses YAML frontmatter for `name` and `description`, with the prompt as the body. Changes take effect on the next run. Schedule, folder, model, and enabled state are not in this file: change them through the Edit form or ask Claude.
Show diff (157 lines)
--- a/desktop-scheduled-tasks.md
+++ b/desktop-scheduled-tasks.md
@@ -1,4 +1,9 @@
-Scheduled tasks start a new session automatically at a time and frequency you choose. Use them for recurring work like daily code reviews, dependency update checks, or morning briefings that pull from your calendar and inbox. The Desktop app’s **Routines** page lets you create both local scheduled tasks and remote [routines](</docs/en/routines>). A local task runs on your machine with direct access to your files and tools, but only fires while the app is open and your computer is awake. A remote routine runs in the cloud even when your computer is off, and can also fire on API calls or GitHub events. This page covers local scheduled tasks; for remote routines and their trigger options, see [Routines](</docs/en/routines>).
+Scheduled tasks start a new session automatically at a time and frequency you choose. Use them for recurring work like daily code reviews, dependency update checks, or morning briefings that pull from your calendar and inbox. The Desktop app’s **Scheduled tasks** page lists both local scheduled tasks and [cloud scheduled tasks](</docs/en/routines>), formerly routines:
+
+ * **Local task** : runs on your machine with direct access to your files and tools, but only fires while the app is open and your computer is awake
+ * **Cloud task** : runs even when your computer is off, and can also start on API calls or GitHub events
+
+This page covers local scheduled tasks; for cloud scheduled tasks and their trigger options, see [Automate work with scheduled tasks](</docs/en/routines>).
##
@@ -22,7 +27,7 @@
Use **cloud tasks** for work that should run reliably without your machine. Use **Desktop tasks** when you need access to local files and tools. Use **`/loop`** for quick polling during a session.
-By default, scheduled tasks run against whatever state your working directory is in, including uncommitted changes. Enable the worktree toggle when creating the task to give each run its own isolated Git worktree, the same way [parallel sessions](</docs/en/desktop#work-in-parallel-with-sessions>) work.
+By default, local scheduled tasks run against whatever state your working directory is in, including uncommitted changes. To give each run its own [isolated Git worktree](</docs/en/desktop#run-a-session-in-its-own-worktree>) instead, select **Worktree** in the task’s **Edit** form after you create it. The checkbox is available when the task’s folder is a Git repository.
##
@@ -30,16 +35,79 @@
Create a scheduled task
-On Claude Desktop before 1.1.5368, local scheduled tasks aren’t available. In the [**Code** tab](</docs/en/desktop>), click **Routines** in the sidebar or in the sidebar’s **More** menu, then click **New routine** and choose **Local**. Configure these fields:
+Local scheduled tasks require Claude Desktop 1.1.5368 or later.
-Field| Description
----|---
-Name| Identifier for the task. Converted to lowercase kebab-case and used as the folder name on disk. Must be unique across your tasks.
-Description| Short summary shown in the task list.
-Instructions| What Claude should do when the task runs. Write this the same way you’d write any message in the prompt box. The instructions input includes pickers for the permission mode and model, and below it you select the working folder and whether to run in an isolated worktree.
-Schedule| How often the task runs. See schedule options below.
+1
-A folder is required before you can save the task. If you haven’t trusted that folder yet, Desktop prompts you to trust it before saving. You can also create a task by describing what you want in any session. For example, “set up a daily code review that runs every morning at 9am” creates a recurring task, and “remind me at 3pm tomorrow to check the deploy” creates a one-time task that disables itself after it fires.
+Open the Scheduled tasks page
+
+In the [**Code** tab](</docs/en/desktop>), click **Scheduled** in the sidebar or in the sidebar’s **More** menu.
+
+2
+
+Start a new task
+
+Click **New task**. If a menu opens with **Create with Claude** and **Set up manually** , select **Set up manually**. The **New scheduled task** dialog opens. If **Only on this computer** is at the top of the dialog, go to Dialog with Only on this computer at the top before you enter anything.
+
+3
+
+Name the task
+
+Enter a name in the **Name** field. Desktop converts it to lowercase kebab-case and uses it as the task’s folder name on disk, so the name must be unique across your tasks.
+
+4
+
+Write the instructions
+
+In the box below the name, enter what Claude should do when the task runs.
+
+5
+
+Turn on Only on this computer
+
+Skip past the **Trigger** card for now and expand **Advanced settings** below it. On the **General** tab, turn on **Only on this computer**. With it on, the task runs on your machine in a local folder, and the **Trigger** card offers the presets listed in Schedule options.If the switch is unavailable, clear the repository or the GitHub event or API trigger, because those make the task a [cloud scheduled task](</docs/en/routines>).
+
+6
+
+Pick the local folder
+
+In the **Local folder** row, select a folder. **Create** stays unavailable until you pick one.
+
+7
+
+Set the schedule
+
+Back in the **Trigger** card, select a schedule preset.
+
+8
+
+Choose the permission mode and model
+
+In the instructions box’s toolbar, select a permission mode and model. If you leave them unchanged, runs use your Claude Code settings and the default model.
+
+9
+
+Create the task
+
+Click **Create**. If you haven’t trusted the folder yet, Desktop asks you to trust it at this point. The task’s detail page opens.
+
+On the detail page, click the pencil icon to open the **Edit** form. There you can change the **Description** that Desktop filled in from your instructions, select **Worktree** , or switch the schedule to **Manual**. You can also create a task by describing what you want in any session. For example, “set up a daily code review that runs every morning at 9am” creates a recurring task. A request like “remind me at 3pm tomorrow to check the deploy” creates a one-time task that disables itself after it fires.
+
+###
+
+
+
+Dialog with Only on this computer at the top
+
+If **Only on this computer** is at the top of the **New scheduled task** dialog when it opens, turn it on before you enter anything. When you turn it on, a separate blank form for a local task replaces the form. Then fill in the local form’s fields:
+
+ * **Name** : enter a name, as in the steps to create a scheduled task.
+ * **Description** : enter a description. **Create** stays unavailable until you do.
+ * **The instructions box** : enter what Claude should do when the task runs. Select the permission mode and model from the menus in the box.
+ * **Working folder** : select the folder the task runs in. **Create** stays unavailable until you select one.
+ * **Trigger** : select a schedule. **Custom** takes a cron expression. For the other presets, see Schedule options.
+
+Click **Create**. The task’s detail page opens.
##
@@ -47,13 +115,13 @@
Schedule options
-Pick a preset from the Schedule control:
+When you turn on **Only on this computer** under **Advanced settings** , the **Trigger** card offers Hourly, Daily, Weekdays, and Weekly. The task’s **Edit** form also offers **Manual**.
- * **Manual** : no schedule, only runs when you click **Run now**. Useful for saving a prompt you trigger on demand
* **Hourly** : runs every hour
* **Daily** : runs every day at the local time you pick
* **Weekdays** : same as Daily but skips Saturday and Sunday
* **Weekly** : shows a time picker and a day picker
+ * **Manual** : no schedule, only runs when you click **Run now**. Useful for saving a prompt you trigger on demand
For intervals the picker doesn’t offer, such as every 15 minutes, the first of each month, or a single run at a specific future time, ask Claude in any Desktop session to set the schedule. Use plain language; for example, “schedule a task to run all the tests every 6 hours.”
@@ -63,7 +131,11 @@
How scheduled tasks run
-Scheduled tasks run on your machine. Desktop checks the schedule every minute while the app is open and starts a fresh session when a task is due, independent of any manual sessions you have open. Each task gets a small delay of a few minutes after the scheduled time to stagger API traffic. The delay is deterministic: the same task always starts at the same offset. When a task fires, you get a desktop notification and a new session appears under a **Scheduled** section in the sidebar. Open it to see what Claude did, review changes, or respond to permission prompts. Claude can edit files, run commands, create commits, and open pull requests, the same as in a session you start yourself, but can’t send or receive [messages between your desktop sessions](</docs/en/desktop#work-across-sessions>) through the desktop app’s session surface. Tasks only run while the desktop app is running and your computer is awake. If your computer sleeps through a scheduled time, the run is skipped. To prevent idle-sleep, turn on **Keep computer awake** in **Settings > This computer > System**. Closing the laptop lid still puts it to sleep. For tasks that need to run even when your computer is off, or that should trigger on an API call or GitHub event, create a remote [routine](</docs/en/routines>) instead.
+Local scheduled tasks run on your machine. Desktop checks the schedule every minute while the app is open and starts a fresh session when a task is due, independent of any manual sessions you have open. Each task gets a small delay of a few minutes after the scheduled time to stagger API traffic. The delay is deterministic: the same task always starts at the same offset. Tasks only run while the desktop app is running and your computer is awake. If your computer sleeps through a scheduled time, the run is skipped. To prevent idle-sleep, turn on **Keep computer awake** in **Settings > This computer > System**. Closing the laptop lid still puts it to sleep.
+
+For tasks that need to run even when your computer is off, or that should trigger on an API call or GitHub event, create a [cloud scheduled task](</docs/en/routines>) instead.
+
+When a local task fires, a new session appears under a **Scheduled** section in the sidebar. Open it to see what Claude did, review changes, or respond to permission prompts. Claude can edit files, run commands, create commits, and open pull requests, the same as in a session you start yourself.
##
@@ -87,7 +159,7 @@
Manage scheduled tasks
-In the **Code** tab, click a task in the **Routines** list to open its detail page. From here you can:
+In the **Code** tab, click **Scheduled** in the sidebar, then click a task in the list to open its detail page. From here you can:
* **Run now** : start the task immediately without waiting for the next scheduled time
* **Status** : toggle between Active and Paused to pause or resume scheduled runs without deleting the task
@@ -104,7 +176,7 @@
Related resources
- * [Routines](</docs/en/routines>): run tasks in the cloud on a schedule, via API call, or in response to GitHub events, even when your computer is off
+ * [Cloud scheduled tasks](</docs/en/routines>): run tasks in the cloud on a schedule, via API call, or in response to GitHub events, even when your computer is off
* [Run prompts on a schedule](</docs/en/scheduled-tasks>): session-scoped scheduling with `/loop` in the CLI
* [Claude Code GitHub Actions](</docs/en/github-actions>): run Claude on a schedule in CI instead of on your machine
* [Use Claude Code Desktop](</docs/en/desktop>): the full Desktop app guide
--- a/desktop-scheduled-tasks.md
+++ b/desktop-scheduled-tasks.md
@@ -71,7 +71,7 @@
Missed runs
-When the app starts or your computer wakes, Desktop checks whether each task missed any runs in the last seven days. If it did, Desktop starts exactly one catch-up run for the most recently missed time and discards anything older. A daily task that missed six days runs once on wake. Desktop shows a notification when a catch-up run starts. Keep this in mind when writing prompts. A task scheduled for 9am might run at 11pm if your computer was asleep all day. If timing matters, add guardrails to the prompt itself, for example: “Only review today’s commits. If it’s after 5pm, skip the review and just post a summary of what was missed.”
+When the app starts or your computer wakes, Desktop checks whether each task missed any runs in the last seven days. If it did, Desktop starts exactly one catch-up run for the most recently missed time and discards anything older. A daily task that missed six days runs once on wake. Desktop shows a notification when a catch-up run starts. Keep this in mind when writing prompts. A task scheduled for 9am might run at 11pm if your computer was asleep all day. If timing matters, add guardrails to the prompt itself, for example: “Only review today’s commits. If it’s after 5pm, skip the review and post a summary of what was missed.”
##
--- a/desktop-scheduled-tasks.md
+++ b/desktop-scheduled-tasks.md
@@ -63,7 +63,7 @@
How scheduled tasks run
-Scheduled tasks run on your machine. Desktop checks the schedule every minute while the app is open and starts a fresh session when a task is due, independent of any manual sessions you have open. Each task gets a small delay of a few minutes after the scheduled time to stagger API traffic. The delay is deterministic: the same task always starts at the same offset. When a task fires, you get a desktop notification and a new session appears under a **Scheduled** section in the sidebar. Open it to see what Claude did, review changes, or respond to permission prompts. Claude can edit files, run commands, create commits, and open pull requests, the same as in a session you start yourself, but can’t send or receive [messages between your desktop sessions](</docs/en/desktop#work-across-sessions>) through the desktop app’s session surface. Tasks only run while the desktop app is running and your computer is awake. If your computer sleeps through a scheduled time, the run is skipped. To prevent idle-sleep, enable **Keep computer awake** in Settings under **Desktop app → General**. Closing the laptop lid still puts it to sleep. For tasks that need to run even when your computer is off, or that should trigger on an API call or GitHub event, create a remote [routine](</docs/en/routines>) instead.
+Scheduled tasks run on your machine. Desktop checks the schedule every minute while the app is open and starts a fresh session when a task is due, independent of any manual sessions you have open. Each task gets a small delay of a few minutes after the scheduled time to stagger API traffic. The delay is deterministic: the same task always starts at the same offset. When a task fires, you get a desktop notification and a new session appears under a **Scheduled** section in the sidebar. Open it to see what Claude did, review changes, or respond to permission prompts. Claude can edit files, run commands, create commits, and open pull requests, the same as in a session you start yourself, but can’t send or receive [messages between your desktop sessions](</docs/en/desktop#work-across-sessions>) through the desktop app’s session surface. Tasks only run while the desktop app is running and your computer is awake. If your computer sleeps through a scheduled time, the run is skipped. To prevent idle-sleep, turn on **Keep computer awake** in **Settings > This computer > System**. Closing the laptop lid still puts it to sleep. For tasks that need to run even when your computer is off, or that should trigger on an API call or GitHub event, create a remote [routine](</docs/en/routines>) instead.
##
--- a/desktop-scheduled-tasks.md
+++ b/desktop-scheduled-tasks.md
@@ -51,7 +51,7 @@
* **Manual** : no schedule, only runs when you click **Run now**. Useful for saving a prompt you trigger on demand
* **Hourly** : runs every hour
- * **Daily** : shows a time picker, defaults to 9:00 AM local time
+ * **Daily** : runs every day at the local time you pick
* **Weekdays** : same as Daily but skips Saturday and Sunday
* **Weekly** : shows a time picker and a day picker
--- a/desktop-scheduled-tasks.md
+++ b/desktop-scheduled-tasks.md
@@ -13,7 +13,7 @@
Runs on| Cloud, Anthropic-managed by default| Your machine| Your machine
Requires machine on| No| Yes| Yes
Requires open session| No| No| Yes
-Persistent across restarts| Yes| Yes| Restored on `--resume` if unexpired
+Persistent across restarts| Yes| Yes| Restored on `--resume`, with [exceptions](</docs/en/scheduled-tasks#limitations>)
Access to local files| No (fresh clone)| Yes| Yes
MCP servers| Connectors configured per task| [Config files](</docs/en/mcp>) and connectors| Inherits from session
Permission prompts| No (runs autonomously)| Configurable per task| Inherits from session
--- a/desktop-scheduled-tasks.md
+++ b/desktop-scheduled-tasks.md
@@ -30,7 +30,7 @@
Create a scheduled task
-On Claude Desktop before 1.1.5368, local scheduled tasks aren’t available. In the [**Code** tab](</docs/en/desktop>), click **Routines** in the sidebar, then click **New routine** and choose **Local**. If **Routines** is missing from the sidebar, update the Desktop app; [Create a routine](</docs/en/routines#create-a-routine>) says which plan and settings routines need. Configure these fields:
+On Claude Desktop before 1.1.5368, local scheduled tasks aren’t available. In the [**Code** tab](</docs/en/desktop>), click **Routines** in the sidebar or in the sidebar’s **More** menu, then click **New routine** and choose **Local**. Configure these fields:
Field| Description
---|---
--- a/desktop-scheduled-tasks.md
+++ b/desktop-scheduled-tasks.md
@@ -30,7 +30,7 @@
Create a scheduled task
-On Claude Desktop before 1.1.5368, local scheduled tasks aren’t available. In the [**Code** tab](</docs/en/desktop>), click **Routines** in the sidebar, then click **New routine** and choose **Local**. If **Routines** is missing from the sidebar, update the Desktop app, and check whether [routines are turned off for your organization](</docs/en/routines#routines-are-disabled-by-your-organizations-policy>). Configure these fields:
+On Claude Desktop before 1.1.5368, local scheduled tasks aren’t available. In the [**Code** tab](</docs/en/desktop>), click **Routines** in the sidebar, then click **New routine** and choose **Local**. If **Routines** is missing from the sidebar, update the Desktop app; [Create a routine](</docs/en/routines#create-a-routine>) says which plan and settings routines need. Configure these fields:
Field| Description
---|---
@@ -79,7 +79,7 @@
Permissions for scheduled tasks
-Each task has its own permission mode, which you set when creating or editing the task. Allow rules from `~/.claude/settings.json` also apply to scheduled task sessions. If a task runs in [Manual mode](</docs/en/desktop#choose-a-permission-mode>) and needs to run a tool it doesn’t have permission for, the run stalls until you approve it. The session stays open in the sidebar so you can answer later. To avoid stalls, click **Run now** after creating a task, watch for permission prompts, and select “always allow” for each one. Future runs of that task auto-approve the same tools without prompting. You can review and revoke these approvals from the task’s detail page. Connector tools [your organization set to `ask`](</docs/en/mcp#organization-controls-on-connector-tools>) and MCP tools marked [`requiresUserInteraction`](</docs/en/mcp#require-approval-for-a-specific-tool>) prompt on every call and don’t offer an always-allow option. Runs that call these tools stall each time.
+Each task has its own permission mode, which you set when creating or editing the task. Allow rules from `~/.claude/settings.json` also apply to scheduled task sessions. If a task runs in [Manual mode](</docs/en/desktop#choose-a-permission-mode>) and needs to run a tool it doesn’t have permission for, the run stalls until you approve it. The session stays open in the sidebar so you can answer later. To avoid stalls, click **Run now** after creating a task, watch for permission prompts, and select “always allow” for each one. Future runs of that task auto-approve the same tools without prompting. You can review and revoke these approvals from the task’s detail page. MCP tools marked [`requiresUserInteraction`](</docs/en/mcp#require-approval-for-a-specific-tool>) prompt on every call and don’t offer an always-allow option. Runs that call these tools stall each time.
##
--- a/desktop-scheduled-tasks.md
+++ b/desktop-scheduled-tasks.md
@@ -30,7 +30,7 @@
Create a scheduled task
-In the [**Code** tab](</docs/en/desktop>), click **Routines** in the sidebar, then click **New routine** and choose **Local**. Configure these fields:
+On Claude Desktop before 1.1.5368, local scheduled tasks aren’t available. In the [**Code** tab](</docs/en/desktop>), click **Routines** in the sidebar, then click **New routine** and choose **Local**. If **Routines** is missing from the sidebar, update the Desktop app, and check whether [routines are turned off for your organization](</docs/en/routines#routines-are-disabled-by-your-organizations-policy>). Configure these fields:
Field| Description
---|---
--- a/desktop-scheduled-tasks.md
+++ b/desktop-scheduled-tasks.md
@@ -30,7 +30,7 @@
Create a scheduled task
-Click **Routines** in the sidebar, then click **New routine** and choose **Local**. Configure these fields:
+In the [**Code** tab](</docs/en/desktop>), click **Routines** in the sidebar, then click **New routine** and choose **Local**. Configure these fields:
Field| Description
---|---
@@ -87,7 +87,7 @@
Manage scheduled tasks
-Click a task in the **Routines** list to open its detail page. From here you can:
+In the **Code** tab, click a task in the **Routines** list to open its detail page. From here you can:
* **Run now** : start the task immediately without waiting for the next scheduled time
* **Status** : toggle between Active and Paused to pause or resume scheduled runs without deleting the task
--- a/desktop-scheduled-tasks.md
+++ b/desktop-scheduled-tasks.md
@@ -63,7 +63,7 @@
How scheduled tasks run
-Scheduled tasks run on your machine. Desktop checks the schedule every minute while the app is open and starts a fresh session when a task is due, independent of any manual sessions you have open. Each task gets a small delay of a few minutes after the scheduled time to stagger API traffic. The delay is deterministic: the same task always starts at the same offset. When a task fires, you get a desktop notification and a new session appears under a **Scheduled** section in the sidebar. Open it to see what Claude did, review changes, or respond to permission prompts. The session works like any other, except that Claude can’t send or receive [cross-session messages](</docs/en/desktop#work-across-sessions>) in a scheduled run: Claude can edit files, run commands, create commits, and open pull requests. Tasks only run while the desktop app is running and your computer is awake. If your computer sleeps through a scheduled time, the run is skipped. To prevent idle-sleep, enable **Keep computer awake** in Settings under **Desktop app → General**. Closing the laptop lid still puts it to sleep. For tasks that need to run even when your computer is off, or that should trigger on an API call or GitHub event, create a remote [routine](</docs/en/routines>) instead.
+Scheduled tasks run on your machine. Desktop checks the schedule every minute while the app is open and starts a fresh session when a task is due, independent of any manual sessions you have open. Each task gets a small delay of a few minutes after the scheduled time to stagger API traffic. The delay is deterministic: the same task always starts at the same offset. When a task fires, you get a desktop notification and a new session appears under a **Scheduled** section in the sidebar. Open it to see what Claude did, review changes, or respond to permission prompts. Claude can edit files, run commands, create commits, and open pull requests, the same as in a session you start yourself, but can’t send or receive [messages between your desktop sessions](</docs/en/desktop#work-across-sessions>) through the desktop app’s session surface. Tasks only run while the desktop app is running and your computer is awake. If your computer sleeps through a scheduled time, the run is skipped. To prevent idle-sleep, enable **Keep computer awake** in Settings under **Desktop app → General**. Closing the laptop lid still puts it to sleep. For tasks that need to run even when your computer is off, or that should trigger on an API call or GitHub event, create a remote [routine](</docs/en/routines>) instead.
##
--- a/desktop-scheduled-tasks.md
+++ b/desktop-scheduled-tasks.md
@@ -1,4 +1,4 @@
-Scheduled tasks start a new session automatically at a time and frequency you choose. Use them for recurring work like daily code reviews, dependency update checks, or morning briefings that pull from your calendar and inbox. The Desktop app’s **Routines** page lets you create both local scheduled tasks and remote [routines](</docs/en/routines>). A local task runs on your machine with direct access to your files and tools, but only fires while the app is open and your computer is awake. A remote routine runs on Anthropic-managed cloud infrastructure even when your computer is off, and can also fire on API calls or GitHub events. This page covers local scheduled tasks; for remote routines and their trigger options, see [Routines](</docs/en/routines>).
+Scheduled tasks start a new session automatically at a time and frequency you choose. Use them for recurring work like daily code reviews, dependency update checks, or morning briefings that pull from your calendar and inbox. The Desktop app’s **Routines** page lets you create both local scheduled tasks and remote [routines](</docs/en/routines>). A local task runs on your machine with direct access to your files and tools, but only fires while the app is open and your computer is awake. A remote routine runs in the cloud even when your computer is off, and can also fire on API calls or GitHub events. This page covers local scheduled tasks; for remote routines and their trigger options, see [Routines](</docs/en/routines>).
##
@@ -10,7 +10,7 @@
| [Cloud](</docs/en/routines>)| [Desktop](</docs/en/desktop-scheduled-tasks>)| [`/loop`](</docs/en/scheduled-tasks>)
---|---|---|---
-Runs on| Anthropic cloud| Your machine| Your machine
+Runs on| Cloud, Anthropic-managed by default| Your machine| Your machine
Requires machine on| No| Yes| Yes
Requires open session| No| No| Yes
Persistent across restarts| Yes| Yes| Restored on `--resume` if unexpired
@@ -104,7 +104,7 @@
Related resources
- * [Routines](</docs/en/routines>): run tasks on Anthropic-managed infrastructure on a schedule, via API call, or in response to GitHub events, even when your computer is off
+ * [Routines](</docs/en/routines>): run tasks in the cloud on a schedule, via API call, or in response to GitHub events, even when your computer is off
* [Run prompts on a schedule](</docs/en/scheduled-tasks>): session-scoped scheduling with `/loop` in the CLI
* [Claude Code GitHub Actions](</docs/en/github-actions>): run Claude on a schedule in CI instead of on your machine
* [Use Claude Code Desktop](</docs/en/desktop>): the full Desktop app guide
--- a/desktop-scheduled-tasks.md
+++ b/desktop-scheduled-tasks.md
@@ -63,7 +63,7 @@
How scheduled tasks run
-Scheduled tasks run on your machine. Desktop checks the schedule every minute while the app is open and starts a fresh session when a task is due, independent of any manual sessions you have open. Each task gets a small delay of a few minutes after the scheduled time to stagger API traffic. The delay is deterministic: the same task always starts at the same offset. When a task fires, you get a desktop notification and a new session appears under a **Scheduled** section in the sidebar. Open it to see what Claude did, review changes, or respond to permission prompts. The session works like any other: Claude can edit files, run commands, create commits, and open pull requests. Tasks only run while the desktop app is running and your computer is awake. If your computer sleeps through a scheduled time, the run is skipped. To prevent idle-sleep, enable **Keep computer awake** in Settings under **Desktop app → General**. Closing the laptop lid still puts it to sleep. For tasks that need to run even when your computer is off, or that should trigger on an API call or GitHub event, create a remote [routine](</docs/en/routines>) instead.
+Scheduled tasks run on your machine. Desktop checks the schedule every minute while the app is open and starts a fresh session when a task is due, independent of any manual sessions you have open. Each task gets a small delay of a few minutes after the scheduled time to stagger API traffic. The delay is deterministic: the same task always starts at the same offset. When a task fires, you get a desktop notification and a new session appears under a **Scheduled** section in the sidebar. Open it to see what Claude did, review changes, or respond to permission prompts. The session works like any other, except that Claude can’t send or receive [cross-session messages](</docs/en/desktop#work-across-sessions>) in a scheduled run: Claude can edit files, run commands, create commits, and open pull requests. Tasks only run while the desktop app is running and your computer is awake. If your computer sleeps through a scheduled time, the run is skipped. To prevent idle-sleep, enable **Keep computer awake** in Settings under **Desktop app → General**. Closing the laptop lid still puts it to sleep. For tasks that need to run even when your computer is off, or that should trigger on an API call or GitHub event, create a remote [routine](</docs/en/routines>) instead.
##
--- a/desktop-scheduled-tasks.md
+++ b/desktop-scheduled-tasks.md
@@ -79,7 +79,7 @@
Permissions for scheduled tasks
-Each task has its own permission mode, which you set when creating or editing the task. Allow rules from `~/.claude/settings.json` also apply to scheduled task sessions. If a task runs in Ask mode and needs to run a tool it doesn’t have permission for, the run stalls until you approve it. The session stays open in the sidebar so you can answer later. To avoid stalls, click **Run now** after creating a task, watch for permission prompts, and select “always allow” for each one. Future runs of that task auto-approve the same tools without prompting. You can review and revoke these approvals from the task’s detail page. Connector tools [your organization set to `ask`](</docs/en/mcp#organization-controls-on-connector-tools>) and MCP tools marked [`requiresUserInteraction`](</docs/en/mcp#require-approval-for-a-specific-tool>) prompt on every call and don’t offer an always-allow option. Runs that call these tools stall each time.
+Each task has its own permission mode, which you set when creating or editing the task. Allow rules from `~/.claude/settings.json` also apply to scheduled task sessions. If a task runs in [Manual mode](</docs/en/desktop#choose-a-permission-mode>) and needs to run a tool it doesn’t have permission for, the run stalls until you approve it. The session stays open in the sidebar so you can answer later. To avoid stalls, click **Run now** after creating a task, watch for permission prompts, and select “always allow” for each one. Future runs of that task auto-approve the same tools without prompting. You can review and revoke these approvals from the task’s detail page. Connector tools [your organization set to `ask`](</docs/en/mcp#organization-controls-on-connector-tools>) and MCP tools marked [`requiresUserInteraction`](</docs/en/mcp#require-approval-for-a-specific-tool>) prompt on every call and don’t offer an always-allow option. Runs that call these tools stall each time.
##
--- a/desktop-scheduled-tasks.md
+++ b/desktop-scheduled-tasks.md
@@ -79,7 +79,7 @@
Permissions for scheduled tasks
-Each task has its own permission mode, which you set when creating or editing the task. Allow rules from `~/.claude/settings.json` also apply to scheduled task sessions. If a task runs in Ask mode and needs to run a tool it doesn’t have permission for, the run stalls until you approve it. The session stays open in the sidebar so you can answer later. To avoid stalls, click **Run now** after creating a task, watch for permission prompts, and select “always allow” for each one. Future runs of that task auto-approve the same tools without prompting. You can review and revoke these approvals from the task’s detail page.
+Each task has its own permission mode, which you set when creating or editing the task. Allow rules from `~/.claude/settings.json` also apply to scheduled task sessions. If a task runs in Ask mode and needs to run a tool it doesn’t have permission for, the run stalls until you approve it. The session stays open in the sidebar so you can answer later. To avoid stalls, click **Run now** after creating a task, watch for permission prompts, and select “always allow” for each one. Future runs of that task auto-approve the same tools without prompting. You can review and revoke these approvals from the task’s detail page. Connector tools [your organization set to `ask`](</docs/en/mcp#organization-controls-on-connector-tools>) and MCP tools marked [`requiresUserInteraction`](</docs/en/mcp#require-approval-for-a-specific-tool>) prompt on every call and don’t offer an always-allow option. Runs that call these tools stall each time.
##
--- a/desktop-scheduled-tasks.md
+++ b/desktop-scheduled-tasks.md
@@ -1,9 +1,3 @@
-> ## Documentation Index
->
-> Fetch the complete documentation index at: <https://code.claude.com/docs/llms.txt>
->
-> Use this file to discover all available pages before exploring further.
-
Scheduled tasks start a new session automatically at a time and frequency you choose. Use them for recurring work like daily code reviews, dependency update checks, or morning briefings that pull from your calendar and inbox. The Desktop app’s **Routines** page lets you create both local scheduled tasks and remote [routines](</docs/en/routines>). A local task runs on your machine with direct access to your files and tools, but only fires while the app is open and your computer is awake. A remote routine runs on Anthropic-managed cloud infrastructure even when your computer is off, and can also fire on API calls or GitHub events. This page covers local scheduled tasks; for remote routines and their trigger options, see [Routines](</docs/en/routines>).
##
--- a/desktop-scheduled-tasks.md
+++ b/desktop-scheduled-tasks.md
@@ -100,9 +100,9 @@
* **Edit** : change the instructions, schedule, folder, or other settings
* **Review history** : see every past run, including skipped runs. Hover a skipped entry to see why: your computer was asleep, the previous run was still in progress, or other scheduled tasks were already running. Click **Show more** to load older entries.
* **Review allowed permissions** : see and revoke saved tool approvals for this task from the **Always allowed** panel
- * **Delete** : remove the task and archive all sessions it created
+ * **Delete** : remove the task and archive all sessions it created. An **Also delete files on disk** checkbox appears in the confirmation dialog; check it to also remove the task’s `SKILL.md` file and associated data from `~/.claude/scheduled-tasks/`.
-You can also list, create, edit, and pause tasks by asking Claude in any Desktop session. For example, “pause my dependency-audit task” or “show me my scheduled tasks.” To delete a task, use the **Delete** button on its detail page. To edit a task’s prompt on disk, open `~/.claude/scheduled-tasks/<task-name>/SKILL.md` (or under [`CLAUDE_CONFIG_DIR`](</docs/en/env-vars>) if set). The file uses YAML frontmatter for `name` and `description`, with the prompt as the body. Changes take effect on the next run. Schedule, folder, model, and enabled state are not in this file: change them through the Edit form or ask Claude.
+You can also list, create, edit, and pause tasks by asking Claude in any Desktop session. For example, “pause my dependency-audit task” or “show me my scheduled tasks.” To delete a task, use the **Delete** button on its detail page. A scheduled task can also modify its own schedule or prompt from within a running session using the `update_scheduled_task` MCP tool. This lets a task reschedule itself based on what it finds, for example, rescheduling a code review to run earlier when it detects a release branch has been created. To edit a task’s prompt on disk, open `~/.claude/scheduled-tasks/<task-name>/SKILL.md` (or under [`CLAUDE_CONFIG_DIR`](</docs/en/env-vars>) if set). The file uses YAML frontmatter for `name` and `description`, with the prompt as the body. Changes take effect on the next run. Schedule, folder, model, and enabled state are not in this file: change them through the Edit form or ask Claude.
##
--- a/desktop-scheduled-tasks.md
+++ b/desktop-scheduled-tasks.md
@@ -1,3 +1,9 @@
+> ## Documentation Index
+>
+> Fetch the complete documentation index at: <https://code.claude.com/docs/llms.txt>
+>
+> Use this file to discover all available pages before exploring further.
+
Scheduled tasks start a new session automatically at a time and frequency you choose. Use them for recurring work like daily code reviews, dependency update checks, or morning briefings that pull from your calendar and inbox. The Desktop app’s **Routines** page lets you create both local scheduled tasks and remote [routines](</docs/en/routines>). A local task runs on your machine with direct access to your files and tools, but only fires while the app is open and your computer is awake. A remote routine runs on Anthropic-managed cloud infrastructure even when your computer is off, and can also fire on API calls or GitHub events. This page covers local scheduled tasks; for remote routines and their trigger options, see [Routines](</docs/en/routines>).
##
--- a/desktop-scheduled-tasks.md
+++ b/desktop-scheduled-tasks.md
@@ -1,4 +1,4 @@
-By default, scheduled tasks start a new session automatically at a time and frequency you choose. Use them for recurring work like daily code reviews, dependency update checks, or morning briefings that pull from your calendar and inbox.
+Scheduled tasks start a new session automatically at a time and frequency you choose. Use them for recurring work like daily code reviews, dependency update checks, or morning briefings that pull from your calendar and inbox. The Desktop app’s **Routines** page lets you create both local scheduled tasks and remote [routines](</docs/en/routines>). A local task runs on your machine with direct access to your files and tools, but only fires while the app is open and your computer is awake. A remote routine runs on Anthropic-managed cloud infrastructure even when your computer is off, and can also fire on API calls or GitHub events. This page covers local scheduled tasks; for remote routines and their trigger options, see [Routines](</docs/en/routines>).
##
@@ -22,14 +22,7 @@
Use **cloud tasks** for work that should run reliably without your machine. Use **Desktop tasks** when you need access to local files and tools. Use **`/loop`** for quick polling during a session.
-The Schedule page supports two kinds of tasks:
-
- * **Local tasks** : run on your machine. They have direct access to your local files and tools, but the desktop app must be open and your computer awake for them to run.
- * **Remote tasks** : run on Anthropic-managed cloud infrastructure. They keep running even when your computer is off, but work against a fresh clone of your repository rather than your local checkout.
-
-Both kinds appear in the same task grid. Click **New task** to pick which kind to create. The rest of this page covers local tasks; for remote tasks, see [Routines](</docs/en/routines>). See How scheduled tasks run for details on missed runs and catch-up behavior for local tasks.
-
-By default, local scheduled tasks run against whatever state your working directory is in, including uncommitted changes. Enable the worktree toggle in the prompt input to give each run its own isolated Git worktree, the same way [parallel sessions](</docs/en/desktop#work-in-parallel-with-sessions>) work.
+By default, scheduled tasks run against whatever state your working directory is in, including uncommitted changes. Enable the worktree toggle when creating the task to give each run its own isolated Git worktree, the same way [parallel sessions](</docs/en/desktop#work-in-parallel-with-sessions>) work.
##
@@ -37,32 +30,32 @@
Create a scheduled task
-To create a local scheduled task, click **Schedule** in the sidebar, click **New task** , and choose **New local task**. Configure these fields:
+Click **Routines** in the sidebar, then click **New routine** and choose **Local**. Configure these fields:
Field| Description
---|---
Name| Identifier for the task. Converted to lowercase kebab-case and used as the folder name on disk. Must be unique across your tasks.
Description| Short summary shown in the task list.
-Prompt| The instructions sent to Claude when the task runs. Write this the same way you’d write any message in the prompt box. The prompt input also includes controls for model, permission mode, working folder, and worktree.
-Frequency| How often the task runs. See frequency options below.
+Instructions| What Claude should do when the task runs. Write this the same way you’d write any message in the prompt box. The instructions input includes pickers for the permission mode and model, and below it you select the working folder and whether to run in an isolated worktree.
+Schedule| How often the task runs. See schedule options below.
-You can also create a task by describing what you want in any session. For example, “set up a daily code review that runs every morning at 9am.”
+A folder is required before you can save the task. If you haven’t trusted that folder yet, Desktop prompts you to trust it before saving. You can also create a task by describing what you want in any session. For example, “set up a daily code review that runs every morning at 9am” creates a recurring task, and “remind me at 3pm tomorrow to check the deploy” creates a one-time task that disables itself after it fires.
##
-Frequency options
+Schedule options
-Pick a preset from the frequency dropdown, or ask Claude for anything the picker doesn’t cover:
+Pick a preset from the Schedule control:
* **Manual** : no schedule, only runs when you click **Run now**. Useful for saving a prompt you trigger on demand
- * **Hourly** : runs every hour. Each task gets a fixed offset of up to 10 minutes from the top of the hour to stagger API traffic
+ * **Hourly** : runs every hour
* **Daily** : shows a time picker, defaults to 9:00 AM local time
* **Weekdays** : same as Daily but skips Saturday and Sunday
* **Weekly** : shows a time picker and a day picker
-For intervals the picker doesn’t offer (every 15 minutes, first of each month, etc.), ask Claude in any Desktop session to set the schedule. Use plain language; for example, “schedule a task to run all the tests every 6 hours.”
+For intervals the picker doesn’t offer, such as every 15 minutes, the first of each month, or a single run at a specific future time, ask Claude in any Desktop session to set the schedule. Use plain language; for example, “schedule a task to run all the tests every 6 hours.”
##
@@ -70,7 +63,7 @@
How scheduled tasks run
-Local scheduled tasks run on your machine. Desktop checks the schedule every minute while the app is open and starts a fresh session when a task is due, independent of any manual sessions you have open. Each task gets a fixed delay of up to 10 minutes after the scheduled time to stagger API traffic. The delay is deterministic: the same task always starts at the same offset. When a task fires, you get a desktop notification and a new session appears under a **Scheduled** section in the sidebar. Open it to see what Claude did, review changes, or respond to permission prompts. The session works like any other: Claude can edit files, run commands, create commits, and open pull requests. Tasks only run while the desktop app is running and your computer is awake. If your computer sleeps through a scheduled time, the run is skipped. To prevent idle-sleep, enable **Keep computer awake** in Settings under **Desktop app → General**. Closing the laptop lid still puts it to sleep. For tasks that need to run even when your computer is off, or that should trigger automatically on an API call or GitHub event, use a [routine](</docs/en/routines>) instead.
+Scheduled tasks run on your machine. Desktop checks the schedule every minute while the app is open and starts a fresh session when a task is due, independent of any manual sessions you have open. Each task gets a small delay of a few minutes after the scheduled time to stagger API traffic. The delay is deterministic: the same task always starts at the same offset. When a task fires, you get a desktop notification and a new session appears under a **Scheduled** section in the sidebar. Open it to see what Claude did, review changes, or respond to permission prompts. The session works like any other: Claude can edit files, run commands, create commits, and open pull requests. Tasks only run while the desktop app is running and your computer is awake. If your computer sleeps through a scheduled time, the run is skipped. To prevent idle-sleep, enable **Keep computer awake** in Settings under **Desktop app → General**. Closing the laptop lid still puts it to sleep. For tasks that need to run even when your computer is off, or that should trigger on an API call or GitHub event, create a remote [routine](</docs/en/routines>) instead.
##
@@ -94,16 +87,16 @@
Manage scheduled tasks
-Click a task in the **Schedule** list to open its detail page. From here you can:
+Click a task in the **Routines** list to open its detail page. From here you can:
* **Run now** : start the task immediately without waiting for the next scheduled time
- * **Toggle repeats** : pause or resume scheduled runs without deleting the task
- * **Edit** : change the prompt, frequency, folder, or other settings
- * **Review history** : see every past run, including ones that were skipped because your computer was asleep
+ * **Status** : toggle between Active and Paused to pause or resume scheduled runs without deleting the task
+ * **Edit** : change the instructions, schedule, folder, or other settings
+ * **Review history** : see every past run, including skipped runs. Hover a skipped entry to see why: your computer was asleep, the previous run was still in progress, or other scheduled tasks were already running. Click **Show more** to load older entries.
* **Review allowed permissions** : see and revoke saved tool approvals for this task from the **Always allowed** panel
* **Delete** : remove the task and archive all sessions it created
-You can also manage tasks by asking Claude in any Desktop session. For example, “pause my dependency-audit task”, “delete the standup-prep task”, or “show me my scheduled tasks.” To edit a task’s prompt on disk, open `~/.claude/scheduled-tasks/<task-name>/SKILL.md` (or under [`CLAUDE_CONFIG_DIR`](</docs/en/env-vars>) if set). The file uses YAML frontmatter for `name` and `description`, with the prompt as the body. Changes take effect on the next run. Schedule, folder, model, and enabled state are not in this file: change them through the Edit form or ask Claude.
+You can also list, create, edit, and pause tasks by asking Claude in any Desktop session. For example, “pause my dependency-audit task” or “show me my scheduled tasks.” To delete a task, use the **Delete** button on its detail page. To edit a task’s prompt on disk, open `~/.claude/scheduled-tasks/<task-name>/SKILL.md` (or under [`CLAUDE_CONFIG_DIR`](</docs/en/env-vars>) if set). The file uses YAML frontmatter for `name` and `description`, with the prompt as the body. Changes take effect on the next run. Schedule, folder, model, and enabled state are not in this file: change them through the Edit form or ask Claude.
##
--- a/desktop-scheduled-tasks.md
+++ b/desktop-scheduled-tasks.md
@@ -6,7 +6,7 @@
Compare scheduling options
-Claude Code offers three ways to schedule recurring work:
+Claude Code offers three ways to schedule recurring or one-off work:
| [Cloud](</docs/en/routines>)| [Desktop](</docs/en/desktop-scheduled-tasks>)| [`/loop`](</docs/en/scheduled-tasks>)
---|---|---|---
--- a/desktop-scheduled-tasks.md
+++ b/desktop-scheduled-tasks.md
@@ -13,7 +13,7 @@
Runs on| Anthropic cloud| Your machine| Your machine
Requires machine on| No| Yes| Yes
Requires open session| No| No| Yes
-Persistent across restarts| Yes| Yes| No (session-scoped)
+Persistent across restarts| Yes| Yes| Restored on `--resume` if unexpired
Access to local files| No (fresh clone)| Yes| Yes
MCP servers| Connectors configured per task| [Config files](</docs/en/mcp>) and connectors| Inherits from session
Permission prompts| No (runs autonomously)| Configurable per task| Inherits from session
--- a/desktop-scheduled-tasks.md
+++ b/desktop-scheduled-tasks.md
@@ -8,7 +8,7 @@
Claude Code offers three ways to schedule recurring work:
-| [Cloud](</docs/en/web-scheduled-tasks>)| [Desktop](</docs/en/desktop-scheduled-tasks>)| [`/loop`](</docs/en/scheduled-tasks>)
+| [Cloud](</docs/en/routines>)| [Desktop](</docs/en/desktop-scheduled-tasks>)| [`/loop`](</docs/en/scheduled-tasks>)
---|---|---|---
Runs on| Anthropic cloud| Your machine| Your machine
Requires machine on| No| Yes| Yes
@@ -27,7 +27,7 @@
* **Local tasks** : run on your machine. They have direct access to your local files and tools, but the desktop app must be open and your computer awake for them to run.
* **Remote tasks** : run on Anthropic-managed cloud infrastructure. They keep running even when your computer is off, but work against a fresh clone of your repository rather than your local checkout.
-Both kinds appear in the same task grid. Click **New task** to pick which kind to create. The rest of this page covers local tasks; for remote tasks, see [Cloud scheduled tasks](</docs/en/web-scheduled-tasks>). See How scheduled tasks run for details on missed runs and catch-up behavior for local tasks.
+Both kinds appear in the same task grid. Click **New task** to pick which kind to create. The rest of this page covers local tasks; for remote tasks, see [Routines](</docs/en/routines>). See How scheduled tasks run for details on missed runs and catch-up behavior for local tasks.
By default, local scheduled tasks run against whatever state your working directory is in, including uncommitted changes. Enable the worktree toggle in the prompt input to give each run its own isolated Git worktree, the same way [parallel sessions](</docs/en/desktop#work-in-parallel-with-sessions>) work.
@@ -70,7 +70,7 @@
How scheduled tasks run
-Local scheduled tasks run on your machine. Desktop checks the schedule every minute while the app is open and starts a fresh session when a task is due, independent of any manual sessions you have open. Each task gets a fixed delay of up to 10 minutes after the scheduled time to stagger API traffic. The delay is deterministic: the same task always starts at the same offset. When a task fires, you get a desktop notification and a new session appears under a **Scheduled** section in the sidebar. Open it to see what Claude did, review changes, or respond to permission prompts. The session works like any other: Claude can edit files, run commands, create commits, and open pull requests. Tasks only run while the desktop app is running and your computer is awake. If your computer sleeps through a scheduled time, the run is skipped. To prevent idle-sleep, enable **Keep computer awake** in Settings under **Desktop app → General**. Closing the laptop lid still puts it to sleep. For tasks that need to run even when your computer is off, use a [remote task](</docs/en/web-scheduled-tasks>) instead.
+Local scheduled tasks run on your machine. Desktop checks the schedule every minute while the app is open and starts a fresh session when a task is due, independent of any manual sessions you have open. Each task gets a fixed delay of up to 10 minutes after the scheduled time to stagger API traffic. The delay is deterministic: the same task always starts at the same offset. When a task fires, you get a desktop notification and a new session appears under a **Scheduled** section in the sidebar. Open it to see what Claude did, review changes, or respond to permission prompts. The session works like any other: Claude can edit files, run commands, create commits, and open pull requests. Tasks only run while the desktop app is running and your computer is awake. If your computer sleeps through a scheduled time, the run is skipped. To prevent idle-sleep, enable **Keep computer awake** in Settings under **Desktop app → General**. Closing the laptop lid still puts it to sleep. For tasks that need to run even when your computer is off, or that should trigger automatically on an API call or GitHub event, use a [routine](</docs/en/routines>) instead.
##
@@ -111,7 +111,7 @@
Related resources
- * [Cloud scheduled tasks](</docs/en/web-scheduled-tasks>): schedule tasks that run on Anthropic-managed infrastructure even when your computer is off
+ * [Routines](</docs/en/routines>): run tasks on Anthropic-managed infrastructure on a schedule, via API call, or in response to GitHub events, even when your computer is off
* [Run prompts on a schedule](</docs/en/scheduled-tasks>): session-scoped scheduling with `/loop` in the CLI
* [Claude Code GitHub Actions](</docs/en/github-actions>): run Claude on a schedule in CI instead of on your machine
* [Use Claude Code Desktop](</docs/en/desktop>): the full Desktop app guide
Show diff (120 lines)
--- a/desktop-scheduled-tasks.md
+++ b/desktop-scheduled-tasks.md
@@ -0,0 +1,117 @@
+By default, scheduled tasks start a new session automatically at a time and frequency you choose. Use them for recurring work like daily code reviews, dependency update checks, or morning briefings that pull from your calendar and inbox.
+
+##
+
+
+
+Compare scheduling options
+
+Claude Code offers three ways to schedule recurring work:
+
+| [Cloud](</docs/en/web-scheduled-tasks>)| [Desktop](</docs/en/desktop-scheduled-tasks>)| [`/loop`](</docs/en/scheduled-tasks>)
+---|---|---|---
+Runs on| Anthropic cloud| Your machine| Your machine
+Requires machine on| No| Yes| Yes
+Requires open session| No| No| Yes
+Persistent across restarts| Yes| Yes| No (session-scoped)
+Access to local files| No (fresh clone)| Yes| Yes
+MCP servers| Connectors configured per task| [Config files](</docs/en/mcp>) and connectors| Inherits from session
+Permission prompts| No (runs autonomously)| Configurable per task| Inherits from session
+Customizable schedule| Via `/schedule` in the CLI| Yes| Yes
+Minimum interval| 1 hour| 1 minute| 1 minute
+
+Use **cloud tasks** for work that should run reliably without your machine. Use **Desktop tasks** when you need access to local files and tools. Use **`/loop`** for quick polling during a session.
+
+The Schedule page supports two kinds of tasks:
+
+ * **Local tasks** : run on your machine. They have direct access to your local files and tools, but the desktop app must be open and your computer awake for them to run.
+ * **Remote tasks** : run on Anthropic-managed cloud infrastructure. They keep running even when your computer is off, but work against a fresh clone of your repository rather than your local checkout.
+
+Both kinds appear in the same task grid. Click **New task** to pick which kind to create. The rest of this page covers local tasks; for remote tasks, see [Cloud scheduled tasks](</docs/en/web-scheduled-tasks>). See How scheduled tasks run for details on missed runs and catch-up behavior for local tasks.
+
+By default, local scheduled tasks run against whatever state your working directory is in, including uncommitted changes. Enable the worktree toggle in the prompt input to give each run its own isolated Git worktree, the same way [parallel sessions](</docs/en/desktop#work-in-parallel-with-sessions>) work.
+
+##
+
+
+
+Create a scheduled task
+
+To create a local scheduled task, click **Schedule** in the sidebar, click **New task** , and choose **New local task**. Configure these fields:
+
+Field| Description
+---|---
+Name| Identifier for the task. Converted to lowercase kebab-case and used as the folder name on disk. Must be unique across your tasks.
+Description| Short summary shown in the task list.
+Prompt| The instructions sent to Claude when the task runs. Write this the same way you’d write any message in the prompt box. The prompt input also includes controls for model, permission mode, working folder, and worktree.
+Frequency| How often the task runs. See frequency options below.
+
+You can also create a task by describing what you want in any session. For example, “set up a daily code review that runs every morning at 9am.”
+
+##
+
+
+
+Frequency options
+
+Pick a preset from the frequency dropdown, or ask Claude for anything the picker doesn’t cover:
+
+ * **Manual** : no schedule, only runs when you click **Run now**. Useful for saving a prompt you trigger on demand
+ * **Hourly** : runs every hour. Each task gets a fixed offset of up to 10 minutes from the top of the hour to stagger API traffic
+ * **Daily** : shows a time picker, defaults to 9:00 AM local time
+ * **Weekdays** : same as Daily but skips Saturday and Sunday
+ * **Weekly** : shows a time picker and a day picker
+
+For intervals the picker doesn’t offer (every 15 minutes, first of each month, etc.), ask Claude in any Desktop session to set the schedule. Use plain language; for example, “schedule a task to run all the tests every 6 hours.”
+
+##
+
+
+
+How scheduled tasks run
+
+Local scheduled tasks run on your machine. Desktop checks the schedule every minute while the app is open and starts a fresh session when a task is due, independent of any manual sessions you have open. Each task gets a fixed delay of up to 10 minutes after the scheduled time to stagger API traffic. The delay is deterministic: the same task always starts at the same offset. When a task fires, you get a desktop notification and a new session appears under a **Scheduled** section in the sidebar. Open it to see what Claude did, review changes, or respond to permission prompts. The session works like any other: Claude can edit files, run commands, create commits, and open pull requests. Tasks only run while the desktop app is running and your computer is awake. If your computer sleeps through a scheduled time, the run is skipped. To prevent idle-sleep, enable **Keep computer awake** in Settings under **Desktop app → General**. Closing the laptop lid still puts it to sleep. For tasks that need to run even when your computer is off, use a [remote task](</docs/en/web-scheduled-tasks>) instead.
+
+##
+
+
+
+Missed runs
+
+When the app starts or your computer wakes, Desktop checks whether each task missed any runs in the last seven days. If it did, Desktop starts exactly one catch-up run for the most recently missed time and discards anything older. A daily task that missed six days runs once on wake. Desktop shows a notification when a catch-up run starts. Keep this in mind when writing prompts. A task scheduled for 9am might run at 11pm if your computer was asleep all day. If timing matters, add guardrails to the prompt itself, for example: “Only review today’s commits. If it’s after 5pm, skip the review and just post a summary of what was missed.”
+
+##
+
+
+
+Permissions for scheduled tasks
+
+Each task has its own permission mode, which you set when creating or editing the task. Allow rules from `~/.claude/settings.json` also apply to scheduled task sessions. If a task runs in Ask mode and needs to run a tool it doesn’t have permission for, the run stalls until you approve it. The session stays open in the sidebar so you can answer later. To avoid stalls, click **Run now** after creating a task, watch for permission prompts, and select “always allow” for each one. Future runs of that task auto-approve the same tools without prompting. You can review and revoke these approvals from the task’s detail page.
+
+##
+
+
+
+Manage scheduled tasks
+
+Click a task in the **Schedule** list to open its detail page. From here you can:
+
+ * **Run now** : start the task immediately without waiting for the next scheduled time
+ * **Toggle repeats** : pause or resume scheduled runs without deleting the task
+ * **Edit** : change the prompt, frequency, folder, or other settings
+ * **Review history** : see every past run, including ones that were skipped because your computer was asleep
+ * **Review allowed permissions** : see and revoke saved tool approvals for this task from the **Always allowed** panel
+ * **Delete** : remove the task and archive all sessions it created
+
+You can also manage tasks by asking Claude in any Desktop session. For example, “pause my dependency-audit task”, “delete the standup-prep task”, or “show me my scheduled tasks.” To edit a task’s prompt on disk, open `~/.claude/scheduled-tasks/<task-name>/SKILL.md` (or under [`CLAUDE_CONFIG_DIR`](</docs/en/env-vars>) if set). The file uses YAML frontmatter for `name` and `description`, with the prompt as the body. Changes take effect on the next run. Schedule, folder, model, and enabled state are not in this file: change them through the Edit form or ask Claude.
+
+##
+
+
+
+Related resources
+
+ * [Cloud scheduled tasks](</docs/en/web-scheduled-tasks>): schedule tasks that run on Anthropic-managed infrastructure even when your computer is off
+ * [Run prompts on a schedule](</docs/en/scheduled-tasks>): session-scoped scheduling with `/loop` in the CLI
+ * [Claude Code GitHub Actions](</docs/en/github-actions>): run Claude on a schedule in CI instead of on your machine
+ * [Use Claude Code Desktop](</docs/en/desktop>): the full Desktop app guide