Re: Best pick for time-based 'event' looping?

2009-04-16 Thread Paul Sharpe
2009/4/16 Randy J. Ray rj...@blackperl.com: I might be using the wrong tech-terminology here, so bear with me... What I'm looking for is a best-of-breed sort of CPAN solution for a job-queue processor in which the jobs are run based on time. Not quite cron, mind you, but not too different

Re: Best pick for time-based 'event' looping?

2009-04-16 Thread Billy Abbott
On Thu, 16 Apr 2009, Peter Corlett wrote: On Wed, Apr 15, 2009 at 06:16:56PM -0700, Randy J. Ray wrote: What I'm looking for is a best-of-breed sort of CPAN solution for a job-queue processor in which the jobs are run based on time. Not quite cron, mind you, but not too different from that. In

Re: Best pick for time-based 'event' looping?

2009-04-16 Thread Martin Robertson
T'was a few years since I used this, the namespace has changed, but perhaps of some use? : http://search.cpan.org/~lembark/Parallel-Queue-2.01/ mart. 2009/4/16 Randy J. Ray rj...@blackperl.com: I might be using the wrong tech-terminology here, so bear with me... What I'm looking for is a

Re: Best pick for time-based 'event' looping?

2009-04-16 Thread Paul LeoNerd Evans
On Wed, 15 Apr 2009 18:16:56 -0700 Randy J. Ray rj...@blackperl.com wrote: 1. Init job queue 2. Add first task, which should happen immediately 3. (Loop starts here) Queue/Event-handler knows how long it has to wait before peeling the next task off the head of the queue and

Re: Best pick for time-based 'event' looping?

2009-04-16 Thread Peter Corlett
On Wed, Apr 15, 2009 at 06:16:56PM -0700, Randy J. Ray wrote: What I'm looking for is a best-of-breed sort of CPAN solution for a job-queue processor in which the jobs are run based on time. Not quite cron, mind you, but not too different from that. In essence: What you described sounds

Re: system() with timeout

2009-04-16 Thread Paul LeoNerd Evans
On Thu, Apr 16, 2009 at 06:18:45PM +0100, David Cantrell wrote: Anyone recommend a module to give me something like system(@list) but with a timeout? Does IPC::Run have something suitable? I seem to recall it has quite a lot of interesting things to fiddle with... -- Paul LeoNerd Evans

Re: system() with timeout

2009-04-16 Thread David Cantrell
On Thu, Apr 16, 2009 at 06:32:08PM +0100, Paul LeoNerd Evans wrote: On Thu, Apr 16, 2009 at 06:18:45PM +0100, David Cantrell wrote: Anyone recommend a module to give me something like system(@list) but with a timeout? Does IPC::Run have something suitable? I seem to recall it has quite a