In a previous article, I’ve explained 5 easy steps to deploy Google Cloud Function. In this article, I’ll explain how to set up cron for it on Google Cloud Standard App Engine Platform.
The problem is that NodeJS is only available on App Engine Flexible, but it doesn’t make sense to set up flexible instance just for kicking GCF with cron.
Instead, we can create a simple python app and deploy it on App Engine Standard Platform.
We’ll need to add 3 files to the application:
After creating these files, steps to deploy a cronjob runner are as follow:
gcloud app deploy gcloud app deploy cron.yaml