Skip to main content
Scheduled agents run a cloud agent automatically on a cron schedule — for example, every night, every Monday morning, or every hour. The 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

Running oz schedule without a subcommand acts as a shorthand for oz schedule create — it accepts all the same flags as create.

Subcommands


oz schedule create

Creates a new scheduled agent. You must supply --name, --cron, and either --prompt or --skill.
Shorthand: oz schedule --name <name> --cron <expr> --prompt <text>

Flags

string
required
Name of the scheduled agent.
string
required
Cron schedule expression that controls when the agent runs. Uses standard 5-field cron syntax: minute hour day-of-month month day-of-week.
string
Prompt describing what the scheduled agent should do. Mutually exclusive with --skill when used alone (both can be combined).Short form: -p
string
Skill 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.
string
Override the base model used for runs of this schedule.
string
Cloud environment to run the scheduled agent in, identified by environment ID.Short form: -e
boolean
Run the scheduled agent without a cloud environment.
string
MCP server to configure for this schedule. Accepts a path to a JSON config file or inline JSON. Repeatable.
string
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

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

Examples


oz schedule update

Updates a scheduled agent. Only the fields you specify are changed.

Arguments

Flags

string
New name for the scheduled agent.
string
New cron expression.
string
New prompt for the scheduled agent.Short form: -p
string
New or updated skill specification. Cannot be combined with --remove-skill.
boolean
Remove the skill from this scheduled agent. Cannot be combined with --skill.
string
Override the base model.
string
New environment ID.Short form: -e
boolean
Remove the environment from this scheduled agent.
string
MCP server to add. Repeatable.
string
Remove an MCP server by its server name. Repeatable.
string
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.
Alias: oz schedule resume

Examples


oz schedule delete

Permanently deletes a scheduled agent.

Examples