Re: [Catalyst] Taking advantage of idle periods by performing some action(s)

2010-03-25 Thread Bill Moseley
On Thu, Mar 25, 2010 at 5:30 AM, Ido Perlmuter i...@ido50.net wrote: I'm looking for direction on how to possibly implement a feature in a Catalyst app that automatically performs some action, or actions, when the app is idle and hasn't been accepting requests (either none or some small

Re: [Catalyst] Taking advantage of idle periods by performing some action(s)

2010-03-25 Thread Ido Perlmuter
Kiffin, thanks for the heads up about Plugin::Scheduler, seems to fit my needs quite good. Bill, an outside worker is actually the heavier solution in this case, because I'm not loading my Catalyst app just to run some code, my Catalyst app is _always_ running (for the matter, it's a FastCGI

Re: [Catalyst] Taking advantage of idle periods by performing some action(s)

2010-03-25 Thread Peter Karman
Ido Perlmuter wrote on 03/25/2010 10:04 AM: Kiffin, thanks for the heads up about Plugin::Scheduler, seems to fit my needs quite good. Starting an external worker that needs to connect to the schema and try hard to figure out what's going on in the already running Catalyst process is

Re: [Catalyst] Taking advantage of idle periods by performing some action(s)

2010-03-25 Thread Bill Moseley
On Thu, Mar 25, 2010 at 8:04 AM, Ido Perlmuter i...@ido50.net wrote: Kiffin, thanks for the heads up about Plugin::Scheduler, seems to fit my needs quite good. I used that plugin in an early application that is still running. I've never spent the time to debug, but I've had times when it