Back Original

Schedule tasks on the web

A scheduled task runs a prompt on a recurring cadence using Anthropic-managed infrastructure. Tasks keep working even when your computer is off. A few examples of recurring work you can automate:

Scheduled tasks are available to all Claude Code on the web users, including Pro, Max, Team, and Enterprise.

Compare scheduling options

Claude Code offers three ways to schedule recurring work:

CloudDesktop/loop
Runs onAnthropic cloudYour machineYour machine
Requires machine onNoYesYes
Requires open sessionNoNoYes
Persistent across restartsYesYesNo (session-scoped)
Access to local filesNo (fresh clone)YesYes
MCP serversConnectors configured per taskConfig files and connectorsInherits from session
Permission promptsNo (runs autonomously)Configurable per taskInherits from session
Customizable scheduleVia /schedule in the CLIYesYes
Minimum interval1 hour1 minute1 minute

Create a scheduled task

You can create a scheduled task from three places:

The web and Desktop entry points open a form. The CLI collects the same information through a guided conversation. The steps below walk through the web interface.

Frequency options

The schedule picker offers preset frequencies that handle time zone conversion for you. Pick a time in your local zone and the task runs at that wall-clock time regardless of where the cloud infrastructure is located.

FrequencyDescription
HourlyRuns every hour.
DailyRuns once per day at the time you specify. Defaults to 9:00 AM local time.
WeekdaysSame as Daily but skips Saturday and Sunday.
WeeklyRuns once per week on the day and time you specify.

For custom intervals like every 2 hours or first of each month, pick the closest preset and update the schedule from the CLI with /schedule update to set a specific schedule.

Repositories and branch permissions

Each repository you add is cloned on every run. Claude starts from the repository’s default branch unless your prompt specifies otherwise. By default, Claude can only push to branches prefixed with claude/. This prevents scheduled tasks from accidentally modifying protected or long-lived branches. To remove this restriction for a specific repository, enable Allow unrestricted branch pushes for that repository when creating or editing the task.

Connectors

Scheduled tasks can use your connected MCP connectors to read from and write to external services during each run. For example, a task that triages support requests might read from a Slack channel and create issues in Linear. When you create a task, all of your currently connected connectors are included by default. Remove any that aren’t needed to limit which tools Claude has access to during the run. You can also add connectors directly from the task form. To manage or add connectors outside of the task form, visit Settings > Connectors on claude.ai or use /schedule update in the CLI.

Environments

Each task runs in a cloud environment that controls network access, environment variables, and setup scripts. Configure environments before creating a task to give Claude access to APIs, install dependencies, or restrict network scope. See cloud environment for the full setup guide.

Manage scheduled tasks

Click a task in the Scheduled list to open its detail page. The detail page shows the task’s repositories, connectors, prompt, schedule, and a list of past runs.

View and interact with runs

Click any run to open it as a full session. From there you can see what Claude did, review changes, create a pull request, or continue the conversation. Each run session works like any other session: use the dropdown menu next to the session title to rename, archive, or delete it.

Edit and control tasks

From the task detail page you can:

You can also manage tasks from the CLI with /schedule. Run /schedule list to see all tasks, /schedule update to change a task, or /schedule run to trigger one immediately.