Archives Oct. 26, 2009
TurboGears "offline" processes (crons, command-line commands, etc)
Written by
on
in
Snaking.
TurboGears uses the Paste commands system to create command-line entry points that, for example, set up your database or start your server. When you get to larger projects, however, you will often have other things you need to do "in the context of your application" from the command line, such as periodic imports of data, ...