rwx crons snooze

Skip scheduled runs until a specific time. Requires the cron:manage permission.

Usage

rwx crons snooze [KEY] --until TIMESTAMP [flags]

Examples

Snooze a cron until a future time with an explicit timezone:

rwx crons snooze run-daily-smoke-tests --branch main --until 2027-01-02T09:00:00-05:00

Choose a timestamp in the future when running this example.

Arguments

[KEY]

The cron key. Required unless --id is given. See Selecting a cron for ambiguous matches and archived crons.

Options

--until <timestamp> (required)

When to resume, as an RFC 3339 timestamp with a timezone, for example 2027-01-02T09:00:00-05:00 or 2027-01-02T14:00:00Z. Seconds are ignored, and the chosen minute must be more than two minutes ahead.

--id <id>

Select a cron by ID instead of key. Cannot be combined with a key, --repository, --branch, or --file.

--repository <repository>

Match the repository exactly as shown by rwx crons list.

--branch <branch>

Match a branch exactly.

--file <path>

Match a run definition path exactly, for example .rwx/ci.yml.

Global options

--format <format>

Output format: text or json. Defaults to text.

--json

Output JSON data to stdout. Equivalent to --format json. The response contains a Cron object with the updated schedule and status.

--access-token <token>

The access token for RWX. Defaults to the value of the $RWX_ACCESS_TOKEN environment variable.