Hi,

( sorry if it a bit off-topic)

I have a script like

#!/bin/bash

for i in {0..108}
do

some job will run for mins &

done

Here I used & for some kinda of parallel.
but there is a problem,

I wished at most it only run 8 jobs simultantly, no more than 8, once
finished, a new job can continue,

Some suggestions?

Thanks,


-- 
To UNSUBSCRIBE, email to [email protected] 
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/cag9cjmnkwvkezh_wc2505hdzzzaz0pkuc0i9uuzejky0zyj...@mail.gmail.com

Reply via email to