[Django]-2019: Dynamic cron jobs Google App Engine

3๐Ÿ‘

โœ…

You may want to have a look at the new Google Cloud Scheduler service (in beta at the moment), which is a fully managed cron job service. It allows you to create cron jobs programmatically via its REST API. So you could create a specific cron job per customer with the appropriate schedule to fit you needs.

๐Ÿ‘คLundinCast

2๐Ÿ‘

Given this limit, my guess would be NO

Free applications can have up to 20 scheduled tasks. Paid applications can have up to 250 scheduled tasks.

https://cloud.google.com/appengine/docs/standard/python/config/cronref#limits

Another version of your minute-by-minute workaround would be a daily cron task that finds everyone that wants to be launched that day, and then use the _eta argument to pinpoint the precise moment in each day for each task to launch.

๐Ÿ‘คAlex

Leave a comment