Created
January 11, 2023 20:02
-
-
Save larsvilhuber/010248a46240714382681b1cd9937fd3 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
if [ -z $SGE_TASK_ID ] | |
then | |
for SGE_TASK_ID in $(seq 1 319) | |
do | |
export SGE_TASK_ID | |
source $0 | |
done | |
else | |
echo "TASK ID: $SGE_TASK_ID" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment