You have a couple of options here.

1: Write up a special controller method that is exposed via the web
interface. Use cron to run a scheduled wget of that method.
2: Write up a command line script that does the processing every time it is
run. Use cron to run a scheduled run of that script
3: Use TGScheduler (though I am least sure of this, since I don't know if
it was a TG1 only thing or not)
4: Create a scheduler middleware, and add it to your application, and have
that run the processing at regular intervals

At least, that's the thoughts that I have for it.

On Wed, Feb 22, 2012 at 7:11 PM, mpearce <[email protected]> wrote:

> Hi,
>
> I have a Turbogears 2.0 application (with Turbomail) and would like to
> trigger a daily function automatically to send a reminder notice to
> selected users. I have no problem getting the email functionality
> working, however how do I automate it? Normally my controller methods
> are initiated by the user clicking a button or link but I wish the
> method to be initiated automatically each day at a specific time (say
> midnight).
>
> Thanks,
> mpearce
>
> --
> You received this message because you are subscribed to the Google Groups
> "TurboGears" 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/turbogears?hl=en.
>
>


-- 
Michael J. Pedersen
My Online Resume: http://www.icelus.org/ -- Google+ http://plus.ly/pedersen
Google Talk: [email protected] -- Twitter: pedersentg

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en.

Reply via email to