Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

cancel jobs related to one name

sbatch | grep yourname | grep job_name | awk '{print "scancel " $1}' > jobs.cancel

then and !#/bin/bash  to first jobs.cancel file, and then
bash jobs.cancel
 
PREVIOUS NEXT
Tagged: #cancel #jobs #related
ADD COMMENT
Topic
Name
8+6 =