Skip to content
Snippets Groups Projects
Commit be2ffb0b authored by David Verelst's avatar David Verelst
Browse files

nnsqdel: also use the new jobid id method to the delete all jobs scenario

parent 4cca383d
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ else
if [ $2 == all ]
then
rm job-list.dat 2>/dev/null
qstat -u $1 | grep $1| cut -c 1-6 >>job-list.dat
qstat -u $1 | grep $1 | sed 's/\([0-9]*\).*/\1/' >> job-list.dat
for i in `cat job-list.dat`
do
echo canceling job $i
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment