On Sat, Sep 13, 2003 at 07:58:09AM -0500, Jay Strauss wrote: > Thanks Rocco, that effectively answers my original header (which I forgot to > change), via your example: > > do_thing => $start_or_stop, $next_time, $period, $program, $args > > I've been rethinking how to do this, problem is I'm not sure the best way to > leverage POE. > > Currently, I have this POE server that periodically gets a stock quote from > ameritrade's real time quotes (via www:mechanize). Then my POE client gets > the quote from the POE server. The problem is after a few hours the server > dies (because for some unknown reason ameritrade give me a 500 internal > server error).
Aha! > I figured I'd build a POE server to periodically stop and start my POE quote > server. The best solution would be to track down the crash and fix or work around it within the program. POE servers are quite robust, and I've heard reports of uptimes lasting several months. -- Rocco Caputo - [EMAIL PROTECTED] - http://poe.perl.org/
