Last active
September 16, 2019 21:21
-
-
Save grayside/8af7816c415e64469f2d8337d57eed62 to your computer and use it in GitHub Desktop.
Create a scheduled, named task.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gcloud beta tasks create-http-task sitemap-rebuild --queue my-queue \ | |
--url "https://cms.example123-uc.a.run.app/sitemap-rebuild" \ | |
--schedule-time 2019-09-17T05:30:00Z |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Created task [projects/my-project/locations/us-central1/queues/my-queue/tasks/sitemap-rebuild]. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# HTTP 409 | |
ERROR: (gcloud.beta.tasks.create-http-task) ALREADY_EXISTS: Requested entity already exists |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment