On Nov 21, 2007 5:52 AM, Ian Bicking <[EMAIL PROTECTED]> wrote:

>
> Konstantin Alexandrov wrote:
> > Hello all.
> > I need to use my Pylons project's environment (config, models etc) from
> > external script launched by cron.
> > How to do that?
>
> If you use PasteScript trunk, you can do "paster request config.ini
> /cron", which runs a request to /cron.
>

If you are not using PasteScript trunk you can still use paster "
paste.paster_command" extensions point. Quite verbose but it works.

Max.



-- 
Max Ischenko
http://www.developers.org.ua/ -- Ukrainian software developers community
http://maxischenko.in.ua/ -- my blog (Russian)

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