Skip to content
Remote Control
Available on:
Antigravity appAntigravity CLIAntigravity IDE

Set a one-time timer or a recurring cron schedule that wakes the agent with an instruction, without blocking the conversation while it waits.

Some tasks need the agent to come back later: check whether a CI run finished, poll a deployment every few minutes, or send you a status summary at a set time. The /schedule command asks the agent to create that timer or schedule using its built-in schedule tool.

A schedule runs as a background task in the current conversation:

  • Non-blocking: the agent ends its turn after creating the schedule rather than idling in a shell sleep, so you can keep chatting or let it work on other steps.
  • Wake-up prompt: when the timer fires or the cron triggers, the agent receives your instruction as a high-priority notification and acts on it.
  • Conversation-scoped: timers and schedules belong to the conversation that created them. For standing jobs that outlive a session, use a persistent sidecar or Automation instead.

Type /schedule followed by when the agent should wake up and what it should do. The agent interprets natural language, a duration, or a five-field cron expression and fills in the tool parameters for you.

Type the command in the composer:

/schedule in 10 minutes, check whether the deploy to staging finished and summarize any errors

The schedule appears in the conversation as a Timed or Scheduled step whose status updates from Pending to Fired, or from Active to Completed, as it runs.

The schedule tool supports two mutually exclusive modes. The agent picks the mode from your instruction, but you can name the parameters directly if you want precise control.

A timer waits for a fixed duration and then fires once:

ParameterDescription
DurationSecondsSeconds to wait before firing.
PromptInstruction delivered to the agent when the timer fires.
TimerConditionOptional early-cancel condition: never (default), any (any incoming message), or the ID of a specific subagent or background task.

Timers are useful for “check back in N minutes” workflows. With a TimerCondition, the timer is cancelled early when a matching message arrives, such as a subagent finishing, and that message itself wakes the agent, so it doesn’t wait the full duration unnecessarily.

/schedule wait up to 5 minutes for the test subagent to report back, then check its results either way

A cron schedule fires repeatedly on a standard five-field cron expression:

ParameterDescription
CronExpressionStandard five-field cron expression, such as */5 * * * * for every five minutes.
PromptInstruction delivered on each trigger, suffixed with the iteration number.
MaxIterationsOptional cap on the number of triggers. Defaults to unlimited.
IsDaemonOptional. When true, the schedule keeps firing after the agent’s current task is done.

Set IsDaemon only for an independent standing job. Non-daemon schedules are tied to the task that created them. When MaxIterations is reached, the agent is notified that the schedule completed.

/schedule every 2 minutes for the next 30 minutes, poll the CI status for PR #482 and tell me when it goes green

You can inspect and cancel schedules from either surface:

  • Ask the agent: tell the agent to list or cancel its schedules. It uses its task manager tool to show active timers and jobs and to kill the one you name.
  • CLI task panel: run /tasks to open the Task Manager. Use the arrow keys to select a timer or recurring job, press k to kill it, press x to remove finished entries, and press Enter for details.

/schedule and Automations both run work on a schedule, but at different scopes:

/scheduleAutomations and sidecars
LifetimeCurrent conversationPersists across sessions and restarts
ContextWakes the existing agent with its full conversation historyStarts a fresh agent conversation on each run
DefinitionA tool call the agent makes for youA sidecar.json manifest with a "builtin": "schedule" entry
Best forTimers, CI polling, check-ins during a taskDaily reports, nightly maintenance, triage jobs

Use /schedule for anything the agent should do while you’re still working in the conversation. For unattended, recurring jobs that should keep running when no conversation is open, create a scheduled sidecar as described in the Sidecars and scheduled tasks guide.

Explore related documentation: