I have written python code to move data from firestore to Bigquery. How can I run this code at a specified time every day? Please help beginner
The most economical way would be to use Google Cloud Scheduler. It can initiate a job that runs on a schedule, similar to corn. Then via Pub/Sub it can invoke Google Cloud Function with your code.
Here is the tutorial, describing exactly that: https://cloud.google.com/scheduler/docs/tut-pub-sub Just use Python, instead of JavaScript for runtime.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With