Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

getting lists of crontabs for multiple hosts.

by Anonymous Monk
on Jun 16, 2010 at 16:31 UTC ( [id://845060]=perlquestion: print w/replies, xml ) Need Help??

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

Hi wise monks,

I have a lists of hosts. I need to log into each one, and while there, switch to root access before running crontab -l.

Any script suggestions. I was thinking about just having the hosts in an array, and iterating through each one, running the various commands.

The implementation however escapes me. Any tips appreciated.

  • Comment on getting lists of crontabs for multiple hosts.

Replies are listed 'Best First'.
Re: getting lists of crontabs for multiple hosts.
by AndyZaft (Hermit) on Jun 16, 2010 at 19:12 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2024-04-25 06:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found