Thursday, September 10, 2020

Schedule jobs on google cloud using functions and scheduler

 Source: https://www.youtube.com/watch?v=t7e0dNSCmzI



Create a function on functions and get the URL


On the right at info panel , click add a member

Insert the service account email

In the role choose Cloud functions invoker



Create a scheduler


Give a target as HTTP

Insert URL of the functions into URL

HTTP method is GET

Auth header is OIDC TOken

Service account is the email of the service account


That's it!


No comments:

Post a Comment

Loud fan of desktop

 Upon restart the fan of the desktop got loud again. I cleaned the desktop from the dust but it was still loud (Lower than the first sound) ...