rwx crons resume

Resume a cron. Requires the cron:manage permission.

Usage

rwx crons resume [KEY] [flags]

Examples

Resume a cron on the main branch:

rwx crons resume run-daily-smoke-tests --branch main

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.