rwx cancel

Cancel a run that is in progress.

Usage

rwx cancel  [flags]

rwx runs cancel is the noun-verb form of this command. Both forms take the same argument and behave the same way.

Description

rwx cancel cancels a run that has not finished. RWX aborts the tasks that are still waiting or in progress. Tasks that already finished keep their results.

To cancel a run from the RWX UI instead, see Canceling tasks. To cancel tasks automatically when another task fails, see Auto cancellation.

Examples

Cancel a run:

rwx cancel f068b078bca8b14180335cde89859698

Arguments

<run-id> (required)

The ID of the run to cancel. You can find the run ID in the URL when you view a run in the RWX UI. You can also list recent runs and their IDs with rwx runs list.

Global options

--format <format>

Output format: text or json. Defaults to text.

--json

Output JSON data to stdout. Equivalent to --format json.

--access-token <token>

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