> how to call a function for evry 10 secs in python

I do not know if changing deploy/hosting platform is a viable choice, but
uWSGI includes a huge set of (very cheap) functionality to allows this
sort of things

(elegant way)
http://projects.unbit.it/uwsgi/wiki/Decorators
(low-level way)
http://projects.unbit.it/uwsgi/wiki/SignalFramework

For example you can schedule a timer function simply doing

from uwsgidecorators import *

@timer(10)
def every_10_seconds(signum):
    print("hello World")

-- 
Roberto De Ioris
http://unbit.it

-- 
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