Questions tagged [google-cloud-scheduler]

Google Cloud Scheduler is a fully managed enterprise-grade cron job scheduler.

Google Cloud Scheduler is a fully managed enterprise-grade cron job scheduler. It allows you to schedule virtually any job, including batch, big data jobs, cloud infrastructure operations, and more. You can automate everything, including retries in case of failure to reduce manual toil and intervention. Cloud Scheduler even acts as a single pane of glass, allowing you to manage all your automation tasks from one place.

Product Page

298 questions
0
votes
1 answer

Configure a cron schedule for different intervals (hour and days)

Hello I am configuring jobs in GCP following the google cloud guide: https://cloud.google.com/scheduler/docs/configuring/cron-job-schedules?&_ga=2.226390674.-907001748.1582817924#defining_the_job_schedule I have to configure a job which will be…
rasilvap
  • 1,771
  • 3
  • 31
  • 70
0
votes
1 answer

A Python function being triggered by Google Cloud Scheduler fails to work on scheduled time but executes perfectly fine when I run it manually

I have project on Google Cloud App Engine. I have set up a cloud Scheduler to make a GET request every 24 hours to a certain endpoint on the app engine which invokes a simple Python script. The script simply reads a Google Sheet and updates the…
naveera
  • 21
  • 4
0
votes
1 answer

Google Cloud Scheduler trigger dataflow template batch job fails with "INVALID ARGUMENT"

I have a dataflow template that I schedule or trigger using a Google Cloud Scheduler. We change the job quite often during development that involves changes to the arguments as well. Quite often we find that trigger fails with status 400 and…
0
votes
1 answer

How to whitelist GCP cloud scheduler ip in aws EC2 server

I am running a server on AWS EC2, which runs only for some whitelisted ips. I want to use GCP cloud scheduler for running my cron jobs. So I want to whitelist GCP cloud scheduler request in EC2 server. I tried google and cloud scheduler…
0
votes
1 answer

Google Cloud insufficient auth scope to call cloud function

I am trying to call a cloud function which shuts down a VM Instance with: gcloud functions call stopInstancePubSub --data '{"data":""}' This works perfectly fine when I run it from my local machine or from gcloud…
0
votes
2 answers

Google Cloud Scheduler to start a task after a specific time every day, but only if a Pub/Sub message arrives

Is it possible to achieve interoperability between a scheduler and a pub/sub in the Google Cloud, so that a task is triggered after a specific time every day, but only if a message arrives? UPDATED: Example would be a task scheduled for 10:00 am…
0
votes
1 answer

Function returned undefined, expected Promise or value and unable to delete old data from firebase database using cloud functions

I'm trying to delete multiple nodes on my database that are older than 12hrs. I"m using a pub/sub function to trigger this event. I don't know if my code is actually looping through all nodes as I'm not using the onWrite, onCreate database triggers…
0
votes
1 answer

Triggering actions in Python Flask via cron or similar

I'm needing to trigger an action at a particular date/time either in python or by another service. Let's say I have built an application that stores the expiry dates of memberships in a database. I'm needing to trigger a number of actions when the…
0
votes
0 answers

Authenticating between a Google Cloud Scheduler job and Google App Engine endpoint

I have a Google Cloud Scheduler set to hit a Google App Engine endpoint myservice.appspot.com/endpoint once a day. How can I authenticate the identity of my Google Cloud Scheduler in my Google App Engine endpoint? I am using Python and Flask.
0
votes
0 answers

Why does the scheduler fail on the first 3 or 4 times I run it?

I have a Cloud Function running on Google Cloud with HTTP trigger. The trigger works fine and the function as well but I am getting errors to execute it via Google Scheduler. The function connect to Cloud SQL and insert and retrieve information from…
0
votes
3 answers

Using Admin API Methods through Cloud Scheduler

Is there a possible way to run the admin api method "Patch" through "Cloud Scheduler"? My functionality works perfectly when run through the API Explorer. w/ servingStatus as the updateMask and this as the request body { "servingStatus":…
0
votes
2 answers

Is it possible to schedule a Job using Google Scheduler API?

Using Google Cloud Scheduler, it is possible to create a Cloud Scheduler job with a Pub/Sub target. Is it possible to do the same using Cloud Scheduler API? I didnt find the schedule information in the Cloud Scheduler API documentation.
programmer
  • 249
  • 4
  • 12
0
votes
1 answer

Executing Dataflow Template via Google Cloud Scheduler

I am trying to execute a custom Dataflow Template via the Google Cloud Scheduler but when I execute the Job I get an UNAUTHENTICATED exception. How do I give Google Cloud Scheduler access to use the Dataflow google API? Here is the URL and POST…
craigtb
  • 647
  • 5
  • 12
  • 30
0
votes
1 answer

How to use Google.Apis.CloudScheduler.v1beta1 client library to create jobs in .NET?

I m trying to create jobs in google cloud schedule from my Web Api. I am able to create job using client library but I believe it is not getting posted to Google. CloudSchedulerService cloudScheduler = new CloudSchedulerService(); …
-1
votes
2 answers

How to read large data from big query table using cloud run python api and what should be system config?

I have created a flask api in python and deployed as a container image in gcp cloud run and running through the cloud scheduler, in my code i am reading large data (15 million rows and 20 columns) from big query, i have set my system config to 8gm…
1 2 3
19
20