you must save somewhere in your "long_time_consuming_function()" the 
progress and let the page show that. 

If you manage that function outside web2py (using the scheduler or not), 
you need something readable by your page and writeable by the external 
process. A record on the db, a file, something. The scheduler has a 
facility you can use for that 

http://web2py.com/books/default/chapter/29/04#Scheduler-%28experimental%29

under the section "reporting percentages" . 

if you want to get familiar with the scheduler you can look at this "learn 
by trial" application

https://github.com/niphlod/w2p_scheduler_tests

let me know if you need further assistance on the scheduler's side.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to