cancel
Terminates a job by sending SIGTERM, then SIGKILL after 5 seconds if still running. Returns the previous state.
Instructions
Cancel a job. SIGTERM then SIGKILL after 5s if still running. Returns {ok, prev_state}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||