Add cron dynamic work in Google app

In the Google engine application, I want to add a task at runtime.

this task will start at a specific time (for example, at 9:00, May 20).

this task will be repeated every 2 minutes from that time.

I know that a Google application has a cron task to schedule a task.

But my problem is that I cannot add the task to the cron task at runtime.

thank

+3
source share
1 answer

You can use the Taskqueue API and set a parameter etato determine when the task will be launched. From each task, you can start another to start it in 2 minutes.

+5
source

All Articles