Anyway.... it would be possibl, and I do not see anything wrong with,
creating a web2py app that provide an OS interface to start and stop
web2py services.
Anybody?

Massimo

On Oct 9, 12:41 am, mdipierro <[EMAIL PROTECTED]> wrote:
> I agree with Steve. Running services from inside web2py is not clean.
> Consider that web2py threads are managed by the web server and are
> subject to many limitations because of security (timeout, limited
> permissions, etc.). Services instead are supposed to be managed by the
> os and may need to run without timeout and with less restrictive
> permissions.
>
> Notice that you can create a folder "services" under you app and then
> start another instance of web2py from the shell using
>
> nohup python web2py.py -S yourapp -M -R applications/yourapp/services/
> yourservice.py &
>
> On Oct 8, 8:57 pm, "Steve Shepherd" <[EMAIL PROTECTED]> wrote:
>
> > Is this as a response to remoinvg the usage of CRON?
> > Does the overhead hurt Web2py performance?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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