Created
May 12, 2014 18:37
-
-
Save alangpierce/8e01f71b664761cec0a3 to your computer and use it in GitHub Desktop.
BigQuery token refresh scripts for KA dev environment
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/sh | |
while [ 1 ] | |
do | |
./refresh_bigquery_token.sh | |
sleep 10 | |
done |
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/sh | |
source ~/.virtualenv/bigquery_env/bin/activate | |
bq ls | |
cp .bigquery.v2.token ~/khan/webapp/bigquery_token | |
echo 'Done!' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment