rwx crons pause
Pause a cron. Requires the cron:manage permission.
Usage
rwx crons pause [KEY] [flags]
Examples
Pause a cron on the main branch:
rwx crons pause run-daily-smoke-tests --branch main
Use rwx crons resume to resume the cron, or rwx crons snooze to skip scheduled runs until a specific time instead.
Arguments
[KEY]
The cron key. Required unless --id is given. See Selecting a cron for ambiguous matches and archived crons.
Options
--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.