Actions without User Intervention

2007-08-30 Thread Andrew Sayman
Hello everybody! I'm new to Pylons, but I have the basics down as far as I can tell. What I'm trying to do is get an event to happen at certain increments of time. Specifically, I would like a model that stores DateTimes for when certain events should happen, and then fire off those events at th

Re: Actions without User Intervention

2007-08-31 Thread Daniel Tang
I don't know if there's anything Pylons-specific for this, but if you're running on *nix, you can just use a cron job that runs every so often. I think you can use the task scheduler in Windows, but I've never tried it before. Dan On 8/31/07, Andrew Sayman <[EMAIL PROTECTED]> wrote: > > Hello e

Re: Actions without User Intervention

2007-08-31 Thread Andrew Sayman
On 8/31/07, Daniel Tang <[EMAIL PROTECTED]> wrote: > > I don't know if there's anything Pylons-specific for this, but if > you're running on *nix, you can just use a cron job that runs every so > often. I think you can use the task scheduler in Windows, but I've > never tried it before. One idea

Re: Actions without User Intervention

2007-08-31 Thread Aaron R
I remembered seeing this when I was looking at Turbogears. It looks like it originally came from elsewhere and you might be able to incorporate it easily enough. Not sure it would work in this environment though, what happens if process restarts? http://trac.turbogears.org/browser/trunk/turbog

Re: Actions without User Intervention

2007-08-31 Thread Yury Yurevich
On Fri, 31 Aug 2007 06:15:51 -, Andrew wrote: > > Hello everybody! > > I'm new to Pylons, but I have the basics down as far as I can tell. > > What I'm trying to do is get an event to happen at certain increments > of time. > > [...] > > Any ideas? Look at WebWare's TaskKit: http://www.

Re: Actions without User Intervention

2007-09-01 Thread Andrew Sayman
On 8/31/07, Aaron R <[EMAIL PROTECTED]> wrote: > Not sure it would work in this > environment though, what happens if process restarts? I'm going to have a database with date/time stuff that will determine when an event needs to fire. I just need something to check that periodically. Like... once