Created
February 6, 2017 02:00
-
-
Save allenday/7480a7752747976dd4b34a9d9a1d0564 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
OP_ID=operations/ENr3tYihKxjl8vvhnZvjmrsBIM29ta6GEioPcHJvZHVjdGlvblF1ZXVl | |
CMD="gcloud --format='value(done)' alpha genomics operations describe $OP_ID" | |
while [[ $(eval ${CMD}) != "True" ]]; do | |
echo -n "$OP_ID not done, sleeping 30s. "; | |
date; | |
sleep 30; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment