Scheduled runs
Let Midium work while you're away. Give it a prompt and a schedule, or hand a long job off from a chat, and read its report when it's done.
For everyone
What scheduled runs are for#
A scheduled task is the same agent that powers Chat and Code, given a prompt and a schedule instead of a conversation. Use it for work that should happen without you: a morning summary of a repo, a nightly test run, a weekly scan of a folder. Each run ends with a report you can read.
A task can also start from a chat. When a job will take a while, Midium can hand it to a background task and post the report back into the chat.
Manage everything in Settings → Scheduled. Scheduled runs work on every plan.
Create a task#
- Open Settings → Scheduled and click New schedule.
- Fill in:
- Name and Task prompt: what to do, in plain language. Be specific; nobody will be around to answer questions.
- App: Assistant (web, memory and your Mac's files), Code (works in a project folder), MCPost (API collections), or one of your connected apps.
- Model: which model runs it.
- Project folder (required for Code).
- Schedule: see below.
- Vault scope (when you have vaults): your own files only, one vault, or every vault you can use. Searching every vault needs Midium Plus or a team plan.
- Decide whether the run may change things (see Safety below).
- Click Create task.
Schedule options#
| Schedule | Runs |
|---|---|
| Manual — run on demand | Only when you click run. |
| Once at a specific time | One time, at the date and time you pick. |
| Daily | Every day at a set time. |
| Weekly | Once a week, on one day, at a set time. |
| Custom days | On the weekdays you pick, at a set time. |
| Every… | At a fixed interval, from every 15 minutes to every 12 hours. |
Times are your Mac's local time. If your Mac was asleep when a task was due, it runs once when the Mac wakes. It doesn't catch up on every missed run.
Safety#
Nobody is watching a scheduled run, so it never stops to ask you anything.
- Read-only by default. Unless you tick Let this run change files, the run can read and search but can't write or delete files or change vault files.
- Changes can be undone. With it ticked, every file the run changes is recorded as one change. Undo it from Settings → Changes, all at once or file by file.
- No approvals. Anything that would need your OK in a chat, such as sending an email, adding a calendar event, or a command that can't be undone, is refused. The report says what it would have done.
- Browser actions. A task that browses can read but can't buy, send, delete or submit orders unless you tick Allow consequential browser actions. Turn that on only for tasks you fully trust.
Run limits#
Under Run limits (optional) you can set Max rounds (default 4), Max tool calls (default 24) and Time limit in minutes (default 15). The run stops at whichever it hits first and writes its report.
A run works in rounds: a burst of tool use, then the model takes stock. If the run fills the model's context window before a limit is reached, it compacts its own history and keeps going. The limits cap the amount of work, not the memory. Only if the context is still almost full after that (about 90%) does the run stop and write its report.
The Scheduled page#
Each task is a row with its schedule and the status of its last run: Running, Succeeded, Wrapped (it stopped at a limit and wrote its report), Failed or Cancelled. On a row:
- Run now runs the task immediately.
- Settings opens the task to change its prompt, schedule, model or limits. Changes apply from the next run.
- The switch pauses or resumes the schedule. A paused task can still be run by hand.
Select a task to see its Last run below the list: the full transcript and the final report. Midium keeps the last 25 runs of each task.
Runs go one at a time. Local models share the Mac's memory, so a task that comes due while another is running waits its turn.
Hand off a job from a chat#
In Chat or Code, ask Midium to "do this in the background", or it may decide to for a long job. It starts a background task while you keep chatting. The task:
- uses the chat's model, project folder (for Code), vaults and project;
- may change files, unless the chat is on Ask before writing, in which case it's read-only;
- gets more room than a scheduled task: up to 8 rounds, 120 tool calls and 30 minutes.
While it runs, the chat shows a card with Stop. When it finishes, a report card appears in the chat, with Undo its changes if it changed files. Midium reads the report too, so you can carry on from it. You can also ask the chat how the task is going, or to cancel it.
Background tasks also appear in Settings → Scheduled. Use the From chats filter (next to All and Scheduled). Each is tagged From chat or From a Code chat and links back to the chat it came from.
Something here wrong or out of date? Tell us.
