Chester Langin writes:
> Is there no way to scancel a list of jobs? Like from job 120 to job 150?
scancel $(seq 120 150)
--
Regards,
Bjørn-Helge Mevik, dr. scient,
Department for Research Computing, University of Oslo
signature.asc
Description: PGP signature
On Tuesday, 08 May 2018, at 17:00:33 (+),
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 s
-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 La
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