jobd_cancel
Cancel a queued or running job by ID, optionally with a reason. Running jobs receive SIGTERM via worker signal poll within about 2 seconds.
Instructions
Cancel a job (queued → cancelled; running → SIGTERM via worker signal poll, ~2s).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| reason | No | Why — recorded on the broker's job_cancelled event (see jobd_events). |