Re: Sending email as a separate service

2013-03-19 Thread Jonathan Vanasco
On Tuesday, March 19, 2013 2:31:09 PM UTC-4, Vincent Catalano wrote: > > I am not using a commandline interface. I ended up creating a new > APScheduler instance from within the applications main() function. That > way, the scheduled service will run only when the server is running. It is > in t

Re: Sending email as a separate service

2013-03-19 Thread Vincent Catalano
I am not using a commandline interface. I ended up creating a new APScheduler instance from within the applications main() function. That way, the scheduled service will run only when the server is running. It is in the applications main() function that I create a pyramid_mailer instance and pass i

Re: Sending email as a separate service

2013-03-19 Thread Jonathan Vanasco
reading your question... are you using a commandline interface/script for the nightly task ? > > http://docs.pylonsproject.org/projects/pyramid/en/1.4-branch/narr/commandline.html after initiating the bootstrap, it would be just a few lines of logic to handle your work -- and it all would

Pointers for creating a pluggable/extensible application without code duplication

2013-03-19 Thread RedBaron
Hi, I have read the documentation for creating an extensible app (http://docs.pylonsproject.org/projects/pyramid/en/master/narr/extending.html) and I think I understand most of it. I have an app that can be used to visualize some specific alerts and would want it to be extensible. Specifically