Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: perl script acting as scehuler for other perl scripts

by rcaputo (Chaplain)
on Feb 21, 2009 at 02:29 UTC ( #745485=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://745485]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (2)
As of 2022-10-07 05:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (29 votes). Check out past polls.

    Notices?