Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: perl script acting as scehuler for other perl scripts

by rcaputo (Chaplain)
on Feb 21, 2009 at 02:29 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2024-04-20 07:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found