Hi everyone,
this may be a stupid question, but how does one execute a controller method on
delay.
This is the sceanrio:
I have a controller method (exposed) which is called by a webservice from the
outside. The webservice just "POST"'s a set of variables to this method.
The method processes the variables and then the method returns - which results
in a 200 resultcode to the webservice.
So far so good. But now I need to POST a response to the webservice, verifying
that I got their message. I can't do that in the controller method they call,
because my POST has to happen AFTER the controller returns the 200 response.
So I was thinking about using the scheduler to just schedule a call to some
method which then will use urllib2 to assemble and send the appropriate
response.
However, the scheduler can only schedule recurring tasks, not a single delayed
execution.
Anyone got a nifty idea how to do this?
Thanks
Uwe
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---