oz schedule command lets you create and manage these schedules. As a shorthand, running oz schedule without a subcommand is equivalent to oz schedule create.
Synopsis
oz schedule without a subcommand acts as a shorthand for oz schedule create — it accepts all the same flags as create.
Subcommands
| Subcommand | Description |
|---|---|
create | Create a new scheduled agent |
list | List all scheduled agents |
get <schedule_id> | Get a scheduled agent’s configuration |
update <schedule_id> | Update a scheduled agent |
pause <schedule_id> | Pause a scheduled agent |
unpause <schedule_id> | Resume a paused scheduled agent |
delete <schedule_id> | Delete a scheduled agent |
oz schedule create
Creates a new scheduled agent. You must supply--name, --cron, and either --prompt or --skill.
oz schedule --name <name> --cron <expr> --prompt <text>
Flags
Name of the scheduled agent.
Cron schedule expression that controls when the agent runs. Uses standard 5-field cron syntax:
minute hour day-of-month month day-of-week.Prompt describing what the scheduled agent should do. Mutually exclusive with
--skill when used alone (both can be combined).Short form: -pSkill to automate on a schedule. Format:
repo:skill_name or org/repo:skill_name. The skill is resolved at runtime in the agent’s cloud environment. Can be combined with --prompt so the skill provides the base context and the prompt adds a specific task.Override the base model used for runs of this schedule.
Cloud environment to run the scheduled agent in, identified by environment ID.Short form:
-eRun the scheduled agent without a cloud environment.
MCP server to configure for this schedule. Accepts a path to a JSON config file or inline JSON. Repeatable.
Where the job should be hosted. Set to
warp (or omit) to run on Warp’s infrastructure. Any other value is matched against a self-hosted worker name.Cron syntax reference
| Expression | Meaning |
|---|---|
0 9 * * 1 | Every Monday at 9:00 AM UTC |
0 0 * * * | Every day at midnight UTC |
0 */6 * * * | Every 6 hours |
30 8 1 * * | At 8:30 AM on the first of every month |
0 9 * * 1-5 | Weekdays at 9:00 AM UTC |
Cron times are interpreted in UTC. Adjust the expression if you need runs at a specific local time.
Examples
oz schedule list
Lists all scheduled agents configured in your account.Examples
oz schedule get
Retrieves the configuration for a specific scheduled agent.Arguments
| Argument | Description |
|---|---|
schedule_id | ID of the schedule to retrieve |
Examples
oz schedule update
Updates a scheduled agent. Only the fields you specify are changed.Arguments
| Argument | Description |
|---|---|
schedule_id | ID of the schedule to update |
Flags
New name for the scheduled agent.
New cron expression.
New prompt for the scheduled agent.Short form:
-pNew or updated skill specification. Cannot be combined with
--remove-skill.Remove the skill from this scheduled agent. Cannot be combined with
--skill.Override the base model.
New environment ID.Short form:
-eRemove the environment from this scheduled agent.
MCP server to add. Repeatable.
Remove an MCP server by its server name. Repeatable.
Update the hosting target.
Examples
oz schedule pause
Pauses a scheduled agent. A paused agent still exists but will not run according to its schedule until you unpause it.Examples
oz schedule unpause
Resumes a paused scheduled agent. The agent will resume running on its previously configured schedule.oz schedule resume