You can use "Command Line Pyramid" for this.

  
 http://docs.pylonsproject.org/docs/pyramid/en/latest/narr/commandline.html

1. Create a Python script that loads the pyramid API and bootstraps a 
request object.
2. Do whatever you want.
3. Trigger the script with whatever scheduling software you prefer for your 
environment.

You could also just create a private backend API in pyramid, and query your 
application from a commandline script via a scheduler; but scheduled tasks 
can be "long running" and it is often best to run those outside of the 
constraints of a web server.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to