Cloud Scheduler for running jobs at the right time
This is the service offered by Google Cloud for running tasks at specific times. We can schedule a Cloud Function to generate and send a daily report at 7 A.M. from Monday to Friday, or we can invoke our App Engine service to process pending user-uploaded images every 10 minutes. If you are a Linux or Unix user, this is the equivalent of cron.
Cloud Scheduler can schedule units of work to run periodically and supports the following types of targets:
- A HTTP(S) endpoint
- A Pub/Sub topic
- An App Engine HTTP(S) service
- Cloud Workflows
For App Engine, the job must be created in the same region as the App Engine app, while for the other three options, any Google Cloud region where the service is available can be chosen.
Cloud Scheduler jobs can be created from the UI in the Cloud console, using the gcloud
command-line utility, or using either the REST API or a client library. The UI will use a second tab in...