Hi there, sorry if I'm not posting in the right subforum. I'm looking for the right GCP product for my task, which is the following:
I'm basically looking for the GCP products that is best suited for my task, while also being as cheap as possible, of course.
Thanks 😊
How long does the script run for? If it's less than 30 seconds, I'd have a Node.js Cloud Function that gets triggered every 30 seconds by Cloud Scheduler, does its job and gets triggered again in the next 30 seconds and so on.
The tasks the script does probably take ~5 seconds. I will look into Cloud Functions + Cloud Scheduler, thanks 🙂
Looks like Cloud Scheduler is not able to schedule functions more often than 1 minute. After some googling I believe I also need to use Cloud Tasks to overcome this.
Also like the scheduler idea. But if it’s not supporting the interval you need you could always use a VM in the free tier and setup a cron in there to execute the work?