I am trying to refactor cron and get rid of ExecuteOnCompletion

I think I succeeded. In trunk:

gluon/contrib/wsgihooks.py and  gluon/contrib/cron.py are now unused
and replaced by gluon/newcron.py
gluon/newcron is very similar to old gluon/contrib/cron.py but
cron.crontype is replaced by settings.web2py_crontype so the apps can
check what type of cron is runnin.

softcron is called directly by main.py/wsgibase and this should make
web2py faster.

If you try it, please post your finding here.

Massimo



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

Reply via email to