Search code examples
google-app-enginecrongoogle-cloud-datastorecron-task

Store cron job schedule parameter in an entity


I have this cron job in GAE

cron:
     - description: interactive
       url: /interactive
       schedule: every 1 minutes

everytime I want to change schedule to 5 minutes or 10 minutes, I have to open cron.yaml file, change the parameter and update the app. I think it is too annoying.

Is there anyway I can change the parameter without doing those steps. For example, store schedule parameter in an entity and update the entity. Is it possible?


Solution

  • The only way to change these params is to update the cron.yaml and redeploy the app.

    To make your life easier though you could enable the push to deploy for your app and edit this file (or any other file) either on GitHub or directly from Google Console.