Deleting Jobs

Description

This page provides information on how to delete jobs.

scancel

Use the scancel command to delete active jobs

Syntax

scancel [options] <jobid> ...

Common options

--account       Restrict the scancel operation to jobs under this charge account
--jobname       Restrict the scancel operation to jobs with this job name
--partition     Restrict the scancel operation to jobs in this partition
--state         Restrict the scancel operation to jobs in this state

Examples

Delete specific job:

scancel 12345678

Delete all running jobs:

scancel --state=R