Use the following instructions to set up Cloud Scheduler. You may already have some of these tools installed.
Install and configure the
gcloud command line tool:
gcloudcomponents for products:
gcloud components install
Update all components:
gcloud components update
gcloud to create a project with an App Engine app.
Or you can use an existing project, if you have one.
Open a terminal on the machine where you installed the Cloud SDK and create a GCP project:
gcloud projects create [PROJECT_ID]
where [PROJECT_ID] is the ID for the project you want to create. Project IDs must start with a lowercase letter and can have lowercase ASCII letters, digits or hyphens. They must be between 6 and 30 characters.
gcloudto use the project you have chosen:
gcloud config set project [PROJECT-ID]
where PROJECT_ID is the ID you set previously.
Now create the app:
gcloud app create [--region=REGION]
where [REGION] is the location in which the app runs. Note that two locations, called
us-centralin App Engine commands, are called, respectively,
europe-west1 andus-central1` in Cloud Tasks commands.
You can check the region of an existing app with the command:
gcloud app describe
The region is listed by
locationId, for example,
Once you set a zone for the App Engine app, you cannot change it.
Use the Google Cloud Platform Console to enable features:
Your project now supports Cloud Scheduler.