Skip to content

simulo cancel

Request cancellation of a queued or running job (POST /v1/jobs/{id}/cancel; default: the most recent job — confirmed before acting, see –yes).

usage: simulo cancel [-h] [--yes] [job_id]
Argument Description
JOB_ID (optional) Job id to cancel. Naming it explicitly skips confirmation (you named the target). Omitted: cancels your most recent job — a destructive default, so it is confirmed first: a y/N prompt on a terminal, or refused (exit 2) without –yes when not running interactively. A queued job is cancelled immediately; a running job has cancellation requested and this command waits for the worker to confirm it (Ctrl-C to detach without un-cancelling).
Option Description
--yes, -y Skip the confirmation prompt for the no-JOB_ID form (required there when stdin isn’t a terminal, e.g. scripts/CI). Accepted and silently ignored when JOB_ID is given explicitly, since that invocation is never prompted anyway.