Skip to content

Instantly share code, notes, and snippets.

@vijayganeshpk
Created April 4, 2019 00:39
Show Gist options
  • Save vijayganeshpk/85ecf04836ee7a7173f150f58c3183c5 to your computer and use it in GitHub Desktop.
Save vijayganeshpk/85ecf04836ee7a7173f150f58c3183c5 to your computer and use it in GitHub Desktop.
Google cloud SDK auto update - For running from scheduled task
@ECHO OFF
SETLOCAL
FOR /F "delims=" %%i in ( '""C:\SDKs\Google\CloudSDK\google-cloud-sdk\bin\gcloud.cmd"" components copy-bundled-python' ) DO (
SET CLOUDSDK_PYTHON=%%i
)
CALL gcloud components update --quiet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment