I was trying to find out a way to schedule stop/start the latest version of app engine in google cloud, but couldn't find any way for that. I just found gcloud command for stopping/starting a specific version, but don't know how can I schedule gcloud command.
We have manual scaling standard app engine , and I want to stop it every night at specific time, and re-start it again in morning. What is the best way to do that?
My implemented solution is separate python cloud function for stopping and starting the app engine, then scheduling those functions at the specific time
https://cloud.google.com/appengine/docs/standard/python3/runtime#environment_variables
Thanks,