Op 4-mei-2007, om 22:53 heeft Matt het volgende geschreven:

>
> Hi, I have a pylons app which I want to spawn a long-running process
> from.  While this process is running (might be an hour or so), I want
> the page that kicked off this process to just display status (maybe
> referesh ever 30 seconds or so)...  Does anyone have some pointers on
> how this should be done or what packages I should be looking into?

Just wanted to point to a possible alternative way: I usually save  
jobs like this into the database. The cron job checks every X minutes  
for a jobs and runs it if needed, changing status to "X% completed".  
It's pretty easy than to display a progress bar or other status  
notifications in the application.

Ksenia.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to