Created
May 28, 2018 02:52
-
-
Save jitsejan/606bd4e43dc559998b2609af140a3d7a to your computer and use it in GitHub Desktop.
Loop through the years, start a screen and call the Python script.
This file contains 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
for ((i=1998;i<=2019;i++)); | |
do | |
screen -dmS $i bash -c 'source activate my-env; python retrieval.py '$i'; exec bash' | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment