Robeto;

I am not exactly sure how I would start my application in the background using this method;

I thought I could use @thread  and then call it somehow.

But I am not sure how to access the object once I do that.

The examples you showed are using @spool

I dont think I need to create a spool;

I think I need to run my app in the background and then access it to add_tasks etc;

Thanks.

David.


On 7/11/11 2:17 PM, Roberto De Ioris wrote:
Roberto;

Do you need the latest version of uwsgi or will
http://projects.unbit.it/downloads/uwsgi-0.9.8.1.tar.gz

This work?

I see the docs say 0.9.8.2? not 0.9.8.1.
You have to take the version from mercurial repository, it has tons of
fixes for the signal framework. (the official release should happen this
week)



On 7/11/11 1:34 PM, Roberto De Ioris wrote:
Just a tiny example, but should be enough for spooler jobs and timers

http://projects.unbit.it/uwsgi/wiki/Decorators#Example:web2pyspoolertimer

Obviously you can call web2py module/functions in the mytasks.py file
(just import them
as a normal python app)


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





Reply via email to