You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
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?
Adam
unread,
Nov 13, 2015, 10:43:04 PM11/13/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
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.
Cheers,
Adam
Paul Canning
unread,
Nov 16, 2015, 4:31:30 AM11/16/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
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?