Programmatically change cron schedule in Google App Engine

I am writing a wrapper around the Github APIs to allow managers in my company to set up daily reminder emails to send to developers. I want this to be configured through the admin console and allow them to set reminders at any time of the day and any number of times a day.

The main App Engine console system is configured statically through the cron.yaml file and cannot be changed by user action. Looking at the documentation, it looks like I can do this by overriding the entire cron infrastructure on top of the underlying cron application. Am I missing something? Is there anything similar that is already available elsewhere?

+4
source share
1 answer

You are right, you cannot program cron configuration programmatically.

You can configure one cron that runs custom functions. These functions can read configured clones (for example, data warehouse objects) and run another task based on your needs.

+4
source

Source: https://habr.com/ru/post/1584195/


All Articles