views:

24

answers:

1

I need to run 2 tasks around 2 minutes apart but need to insert them both at the same time into the queue. how do i do this?

taskqueue.add('/task1', { 'args' : 'a' })

taskqueue.add('/task2', { 'args' : 'b' })

is there some way i can insert a time component into this execution?

can you please illustrate with an example?

+1  A: 

check out the docs for the Task class and read about the countdown and eta args on the constructor. I think either one will allow you to do what you want.

Peter Recore