P is for Practical | |
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.
Back to
Seekers of Perl Wisdom
|
|