Created
August 17, 2020 20:54
-
-
Save unacceptable/6262fffb1238d1952a36ac0e33ef40d5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
N=100 | |
for job in {1..1000}; do | |
((i=i%N)); ((i++==0)) && wait | |
python something.py & | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment