Skip to content
Scheduled Sessions
DocsProduct Guide

Scheduled Sessions

Recurring agent sessions — bug triage, dependency updates, and cleanup sweeps that run on a schedule.

A scheduled session is a saved prompt that runs on a timer: each run creates a normal session — same agent, same tools, same PRs — with nobody typing the kickoff message.

Scheduled Sessions

Create one

  1. Open Settings → Scheduled Sessions and click Create Schedule.
  2. Name it, write the prompt, and pick the repositories it works on.
  3. Set the frequency — presets like "Daily at 9:00 AM", a structured picker, or a raw cron expression if you speak fluent asterisk. Pick the timezone.
  4. Optionally set an assignee and a model or harness, then save.

The schedules table shows each schedule's "Runs at" in plain language ("Daily at 8:00 AM", not 0 8 * * *), the last and next run, and a Past runs history — every run is a full session you can open, inspect, and reply to.

Agents can create schedules too: ask for one mid-session ("do this every Monday") and the agent sets it up for you — see Create from a session below.

Create from a session

You don't have to leave the chat to put something on a timer. Ask the agent for a recurring job and it runs vflux schedule create with the name, prompt, cron expression, and a plain-language frequency description. The agent only does this once it knows what to run, when, and — for a time of day — in which timezone; if any of that is unclear it asks first, and otherwise it doesn't stop to ask for confirmation. The schedule is created immediately, enabled, and owned by and run as the session's assignee.

As soon as it exists, a Scheduled Session card marked Created lands in the chat with the name, frequency, cron expression, and timezone, plus two buttons: Edit and View Schedule. Running the same create twice keeps a single card — the agent sees "Matching schedule already exists" instead of a duplicate.

Create a schedule from a session

Edit turns the card into a form right there in the chat: Name, Prompt, Frequency, Timezone, a Harness picker, Model, and the Run once (disable after first successful run) checkbox. Save changes updates the live schedule; Discard drops the edits. View Schedule opens the same schedule in Settings → Scheduled Sessions.

  • The agent reports back the schedule's name, frequency, timezone, next run, and model, and links you to the schedule. Times are stated in your local time zone — the one your profile picked up from your browser — falling back to UTC when that zone is unknown.
  • Editing the card needs the same permission as editing schedules elsewhere; otherwise the Edit button explains "You do not have permission to edit schedules."
  • Inside a workspace the card shows Not available in workspaces yet — creating schedules from a session is account-level for now.

When a run is skipped

Every run executes as the schedule's assignee. If that person is no longer active, or no longer has access to the workspace the schedule belongs to, a due run is skipped rather than failed — the run completes cleanly with the reason recorded as assignee_no_access, and nothing half-starts under a departed account. A schedule paused because its assignee left doesn't come back on its own: an admin has to reassign it to a current member before it can be re-enabled.

Discover schedules

Blank-page syndrome applies to automation too. If you know something should run on a schedule but not what, click Discover schedules in Settings → Scheduled Sessions. The dialog suggests schedules from two sources, switchable with a pill toggle: Integrations, drawn from the tools you've connected, and Templates, ready-made schedules for maintenance work worth putting on a timer.

Discover schedules

Picking a suggestion opens the schedule form with the details pre-filled — review it, adjust whatever you like, and save it like any other schedule. The empty state says so itself: "No scheduled sessions yet. Discover a suggestion or create one from scratch."

Run once

Not everything recurs. "Tomorrow at 9, bump that dependency" is a schedule with exactly one job to do — and it should retire itself after doing it, not haunt your schedules table forever.

Run-Once Schedules

Ask an agent for a one-time job and the schedule card it posts in chat comes with Run once (disable after first successful run) already checked. The schedule fires at the appointed time, then disables itself — the Runs column ticks to 1 and Next run clears.

  • One-shot schedules skip the usual one-hour minimum between runs — a single firing can be any time you like.
  • Only successful runs count toward the cap. A failed run doesn't consume it, so the schedule stays enabled.
  • Agents creating schedules programmatically can pass --once or --max-runs N to stop after N successful runs instead of one.