google-app-enginegoogle-directory-apigoogle-email-settings-api

GAE cron request limit


I'm currently developing an GAE cron application which calls the directory API to fetch some user data and then updates the user email signature using that data.

My problem is the 10 min limit of a cron job. From an approximate calculus, the flow will last about one and half hours which is more that the 10 mins cron offers.

Is there any way I can overcome that limit? Can i somehow start a thread that will asynchronously do the processing I want?


Solution

  • If you can divide the code into Module, set up Manual Scaling and you can run tasks for up to 24 hours https://cloud.google.com/appengine/docs/python/modules/