[slurm-users] scancel a list of jobs

Michael Jennings mej at lanl.gov
Tue May 8 11:21:27 MDT 2018


On Tuesday, 08 May 2018, at 17:00:33 (+0000),
Chester Langin wrote:

> Is there no way to scancel a list of jobs?  Like from job 120 to job
> 150?  I see cancelling by user, by pending, and by job name.  --Chet

If you're using BASH, you can just do:  scancel {120..150}

In other POSIX-compatible shells, this should work:  scancel `seq 120 150`

HTH,
Michael

-- 
Michael E. Jennings <mej at lanl.gov>
HPC Systems Team, Los Alamos National Laboratory
Bldg. 03-2327, Rm. 2341     W: +1 (505) 606-0605



More information about the slurm-users mailing list