Skip to content

Schedules

A schedule puts an agent message in the machine’s own inbox later: once, or on a cron expression. The platform keeps it, so it fires while the agent’s session is gone, after reboots, and (with --qos notify) while the machine is suspended: the message resumes it.

space-env schedule at +30m --text "Check whether the deploy of fix-42 finished; roll back if it failed."
space-env schedule cron "0 9 * * mon-fri" --context standup --label "Daily standup" --description "Post yesterday's progress; flag anything blocked." --text "Post yesterday's progress to the team."
space-env schedule list
space-env schedule cancel 5f0c2a8e-3b1d-4c7a-9e2f-6a8b0c1d2e3f
  • Each firing is an ordinary message, from schedule, role ROLE_USER, with the schedule’s text and data. Receive it like any other; --context picks the firings of one schedule (the context defaults to schedule- and the first 8 characters of its id).
  • Label and description: --label names the schedule in one short line (at most 40 characters). The portal’s canvas shows it on the schedule, beside the machine, with when it fires in words; without one it shows the context. An agent’s schedules are one pill over its card: the one schedule’s label, or how many there are (“3 schedules”); rest the pointer on it for the soonest, click it for all. --description holds the details, what the schedule is for (at most 1000 characters, line breaks allowed); the portal shows it below the label in the machine’s schedule list. Neither is part of the message. A schedule made before labels existed keeps its one-line description as its name; the portal cuts a long one to 40 characters.
  • One-shot (at): +90s, +30m, +2h, +1d from now, or a UTC time (2026-11-08T09:00:00Z), at most 366 days ahead. It is deleted after it fires.
  • Cron: five fields, minute hour day-of-month month day-of-week, in UTC; *, numbers, ranges (1-5), lists (1,15), steps (*/15), names (mon, jan) and @hourly, @daily, @weekly, @monthly, @yearly. When both day fields are set, either may match (as in Vixie cron). The finest interval is one minute.
  • Late, not twice. The platform fires due schedules every few seconds. A run missed while the platform was down fires once, late; the missed slots are not caught up.
  • QoS. --qos notify resumes the machine if it is suspended; --qos urgent also interrupts its agent. The default, whenever, waits for the next receive.
  • Full inbox. When the inbox already holds its limit, a firing is skipped (the schedule goes on), so a forgotten cron can’t bury the agent.
  • Write for a later you. The firing arrives without today’s context: say what to do, where, and what “done” means.

Limits

Schedules100 per machine (the organization’s quota may differ)
Intervalat least one minute
One-shotat most 366 days ahead
Lifetimedeleted with the machine

The recurring chore guide puts a schedule to work.

Last updated on