How can you check for an existing running Task (in PHP)?

Is there a way to "label" a task or do you have to check for its ID?

On Saturday, November 14, 2015 at 3:43:04 AM UTC, Adam wrote:
>
> Hi Paul,
>
> It's possible to launch a task from another task. This means each task 1-9 
> can check if the work from the other tasks has completed, and then launch 
> task #10 if it is. Task #10 should check to see if it's not already running 
> (singleton). Be careful to avoid having a task launch itself as this will 
> lead to a condition called a fork bomb 
> <https://cloud.google.com/appengine/docs/python/config/queue?hl=en#Python_Setting_the_storage_limit_for_all_queues>
> .
>
> Cheers,
> Adam
>
> On Friday, November 13, 2015 at 9:04:05 AM UTC-5, Paul Canning wrote:
>>
>> Say if I have 10 tasks I need to run, is there a way I can make sure 
>> tasks 1-9 are complete (in any order) before task 10 is launched?
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/8afa66a7-2fc6-4767-ab61-1bab0e47944f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to