In my case i need to deploy two cron jobs. But i couldn't figure out how to set the url in cron.yaml and the handlers in the other file correctly. Also i'm using a bucket to store the script that's going to be executed. Somehow the cronjobs could not differentiate between the two scripts and endup using only one for both. Any idea how to organize my bucket or how to set the handlers the right way ?
Just have 2 VMs and 2 different appengine endpoints. I can't really help with the buckets as I haven't used that API yet. I'm curious though what your use-case for buckets is, I never found any use for them (explicitely) myself.
my use case doesn't involve VMs. I need to send push notifications and update my database periodically.That's why i need two separate cron jobs and i'm using a bucket to store the scripts responsible for doing the work. Is there an other approach to do this ? or does my app.yaml file need to contain a script for both jobs ? i read the documentations multiple times and couldn't fully understand how this work.
In my case i need to deploy two cron jobs. But i couldn't figure out how to set the url in cron.yaml and the handlers in the other file correctly. Also i'm using a bucket to store the script that's going to be executed. Somehow the cronjobs could not differentiate between the two scripts and endup using only one for both. Any idea how to organize my bucket or how to set the handlers the right way ?
Keep up the good work.
Just have 2 VMs and 2 different appengine endpoints. I can't really help with the buckets as I haven't used that API yet. I'm curious though what your use-case for buckets is, I never found any use for them (explicitely) myself.
Hi again,
my use case doesn't involve VMs. I need to send push notifications and update my database periodically.That's why i need two separate cron jobs and i'm using a bucket to store the scripts responsible for doing the work. Is there an other approach to do this ? or does my app.yaml file need to contain a script for both jobs ? i read the documentations multiple times and couldn't fully understand how this work.
This was about using VMs to scale down. I don't know every single feature of GCP from memory. Maybe you'll have more luck on a GCP slack channel?