http://qs321.pair.com?node_id=745485


in reply to perl script acting as scehuler for other perl scripts

POE::Component::JobQueue is used to execute jobs in a particular order, with a specified level of concurrency. It's not a cron-like timed scheduler, but POE::Component::Cron might fit if that's what you need.

That said, there's no restriction on what the jobs can do. If you want, they can use POE::Wheel::Run to fork off and manage subprocesses, which may be "other perl scripts".

And if your scheduling needs are simpler than POE::Component::JobQueue, you could just use POE itself.

If you need more robust queuing, something like POE::Component::MessageQueue might work better.

  • Comment on Re: perl script acting as scehuler for other perl scripts