# Schedules

Start an agent in a project at set times, and let each run pick up where the last one left off.

A schedule starts an agent in a project at the times you choose, with a prompt as its opening message,
so a recurring job like a morning review runs without you starting it each time. Each run is an ordinary [agent](/docs/agents.md) session, listed under its schedule in the
project's **Schedules** section, where you read it, resume it or stop it like any agent.

Runs happen only while Rundesk is open. Each run reads and updates the schedule's shared note, so the
next run knows where to start.

## Create a schedule

1. Click **+** on the project's **Schedules** section.
2. Give it a name, choose an agent, and write the prompt.
3. Under **Runs**, choose when it runs, then save.

The prompt may be empty only when the chosen agent has a saved prompt of its own. Claude, Codex and
OpenCode can run on a schedule, and Grok and Antigravity once connected. Kimi Code cannot, since it
takes no prompt.

## Choose when a schedule runs

| Choice | Times |
|---|---|
| **Every few hours** | on the hour, every 1, 2, 3, 4, 6 or 12 hours, counted from midnight |
| **Every day** | every day at the time you give |
| **Weekdays** | Monday to Friday at the time you give |
| **On chosen days** | on the days you tick, at the time you give |
| **Manually** | only when you press **Run now**, or an agent runs it |

A new schedule starts on **Manually**. Times follow your computer's clock, daylight saving included.
Hover over a schedule's row to see its next time, such as `Next: Today 9:00 AM`.

## What happens to a missed or overlapping run

A time missed by more than two minutes, because the app was closed or the computer asleep, is
recorded once as `skipped: app closed`, never run late. If the previous run is still going when a
time comes, that time is recorded as `skipped: still running` instead of starting a second run.

**Run now** starts a run at once, even beside one still going, and shows it.

## Read how a schedule's runs went

Each schedule lists its last 10 runs, newest first, each with when it started and how it went. Older runs
are dropped with their agent sessions, except a run whose agent is still open, such as one you
resumed.

| Status | Meaning |
|---|---|
| `running` | started, and working or not yet reported |
| `needs you` | the agent stopped on something only you can answer |
| `done` | the agent reports its turn is over |
| `ended` | it ended before its turn was reported over |
| `couldn't start` | the run could not be opened, such as when its agent was deleted |
| `skipped: app closed` | its time passed while Rundesk was closed or the computer asleep, as above |
| `skipped: still running` | an earlier run was still going, as above |

A done run's agent remains open, so you can read on or carry on with it. Each run leaves one more agent
open until you stop or archive it.

> [!TIP]
> A run whose agent never reports, such as one stopped at a sign-in prompt, stays `running`, and
> later times are skipped until you stop it.

## Edit the instructions every run starts with

Every run's opening message starts with **Schedule instructions**, telling the agent it was started by
a schedule, to work on its own, and to end with a short report. Edit them in **Settings › Schedules**,
where `{name}` stands for the schedule's name and `{date}` for the run's date.
**Reset to Rundesk's instructions** brings back the default, which then updates with the app.

## Carry work from one run to the next

Every schedule has one markdown note shared by all its runs, in the **Notes** tab of the schedule's
dialog. Each run is told to read it first and record there only what the next run needs, such as:

> Checkout validation is fixed. Next run: check whether the new tests cover saved addresses.

Each run also has its own agent note for its working. The schedule's note goes when the schedule is
deleted. [A recurring review](/docs/recurring-review.md) sets up a schedule that works this way.

## Pause a schedule or switch schedules off

**Pause schedule** stops a schedule's future runs and **Resume schedule** turns them back on; a paused schedule
offers no **Run now**. **Delete** asks first, then closes its runs and stops any still open.

**Settings › Schedules** switches schedules off altogether: nothing runs and the Schedules sections are
hidden, but your schedules remain for when you turn it back on.

## Related pages

- [A recurring review](/docs/recurring-review.md): set up a schedule whose runs build on each other.
- [Coding agents](/docs/agents.md): what you can do with a run's agent once it is open.
- [MCP tools and permissions](/docs/mcp.md): what agents can do in Rundesk, and the permissions that limit it.
