I have heard of it but never used.
My suggestion is for long running tasks

1) queue starts in a database
2) run a background process to perform tasks sequentially and mark the
db entry as "queued", "in progress", "failed", "completed"
3) create a page with an ajax keepalive that checks the status of
"queued" tasks.
4) on "completed" task use js to redirect the page

On Nov 22, 8:15 pm, Vincent <[email protected]> wrote:
> I have a simple form that send the data to a module, this python
> module/program, it takes several minutes to finish. Then it saves a
> few matplotlib plots and calculates s a few values. although not
> proficient I can get the plots and values on a second page. When the
> program is running in terminal it prints values showing it's progress.
> I would like to print these values dynamically to a web page. I found
> this page for cherrypyhttp://tools.cherrypy.org/wiki/Comet
> While this is a perfect example, It is significantly beyond knowledge.
> Is there a easier way, more reliant on python/web2py
> I assume I could refresh the screen but I would like a better
> solution.
> Are there any templates/examples using web2py?
> Thanks
> Vincent
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to