[slurm-users] scancel a list of jobs

Ryan Novosielski novosirj at rutgers.edu
Tue May 8 11:09:31 MDT 2018


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've used loops before to do something like that. This is something
off the top of my head, but something like:

seq 120 150 | while read jobid; do scancel $jobid; done

You can test it with squeue -j $jobid instead.

On 05/08/2018 01:00 PM, 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
- -- 
 ____
 || \\UTGERS,     |----------------------*O*------------------------
 ||_// the State  |    Ryan Novosielski - novosirj at rutgers.edu
 || \\ University | Sr. Technologist - 973/972.0922 ~*~ RBHS Campus
 ||  \\    of NJ  | Office of Advanced Res. Comp. - MSB C630, Newark
      `'
-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAlrx2cUACgkQmb+gadEcsb6Z3QCfffVp986t7Y1G5avZiS9ax46M
g7AAn1KhGRO2InidYCJNq9dTS28PjyOt
=6KAB
-----END PGP SIGNATURE-----



More information about the slurm-users mailing list