Job Cancelling
Job Cancelling¶
To cancel job, use scancel
scancel job_id
Examples¶
Send SIGTERM to steps 1
and 3
of job 1234
:
scancel --signal=TERM 1234.1 1234.3
Cancel job 1234
along with all of its steps:
scancel 1234
Send SIGKILL to all steps of job 1235
, but do not cancel the job itself:
scancel --signal=KILL 1235
Cancel all your jobs¶
scancel -u username
Cancel all your pending jobs¶
scancel -t PD
Man page¶
man scancel