Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

perl script acting as scehuler for other perl scripts

by palette (Scribe)
on Feb 20, 2009 at 06:21 UTC ( #745287=perlquestion: print w/replies, xml ) Need Help??

palette has asked for the wisdom of the Perl Monks concerning the following question:

Hi,
I wanted to know is there any CPAN module through which I can call other perl scripts.
Something like POE::Component::JobQueue.
I feel that POE::Component::JobQueue is particulAr to call specific modules,
Can I use this to make call to perl scripts.
  • Comment on perl script acting as scehuler for other perl scripts

Replies are listed 'Best First'.
Re: perl script acting as scehuler for other perl scripts
by puudeli (Pilgrim) on Feb 20, 2009 at 07:36 UTC

    Maybe Schedule::Cron could do the trick?

    You could use Timer, Schedule or Cron as search terms in CPAN.

    --
    seek $her, $from, $everywhere if exists $true{love};
Re: perl script acting as scehuler for other perl scripts
by rcaputo (Chaplain) on Feb 21, 2009 at 02:29 UTC

    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.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2023-05-28 16:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?