thats what im asking. can i re-instate recursively a task every time it
fails dues making the task run forever?
-
Cheers,

def AlonCarmel(request)
     import simplejson as json
     contact = {}
     contant['email'] = 'a...@aloncarmel.me'
     contact['twitter'] = '@aloncarmel'
     contact['web'] = 'http://aloncarmel.me'
     contact['phone'] = '+972-54-4860380'
     return HttpResponse(json.dumps(contact))

* If you received an unsolicited email from by mistake that wasn't of your
matter please delete immediately. All E-mail sent from Alon Carmel is
copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
Alon Carmel are owned by the Author only. Any attempt to duplicate or
imitate any of the Content is prohibited under copyright law 2008.



On Thu, Aug 19, 2010 at 12:22 AM, MyElasticEye <sarp.er...@gmail.com> wrote:

> Why don't you just add that task to a queue and if it fails, it will
> automatically re-execute itself and run again in a few minutes.
>
> On Aug 19, 12:00 am, alon <alon.car...@gmail.com> wrote:
> > Hey,
> > I need to keep a task running and monitoring twitter stream api.
> >
> > Is it possible to initiate a task that does
> >
> > try
> >
> > catch DeadlineExceededException
> >
> > task.add the same task again?
> >
> > so basically the task will always rerun itself over and over and over
> > indefinitely? i dont mind it ending after 30 seconds at a time or even
> > less but atleast i can keep on monitoring the stream 30 seconds at a
> > time.
> >
> > is that possible?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com<google-appengine%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to