Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: How to Run a shell script which is on a remote server using a Perl script

by TGI (Vicar)
on May 07, 2009 at 17:43 UTC ( #762677=note: print w/ replies, xml ) Need Help??


in reply to How to Run a shell script which is on a remote server using a Perl script

I am not sure I understand your question.

Here's what I read:

1. You have a shell script that will start processes on multiple servers.

2. You need to execute a shell script using perl

3. You have server IP and script path information.

4. You want your perl script to start the scripts running on the servers specified in 3.

Why can't you use the shell script you describe in 1? If you need to run it from perl, use the system command or backticks (``).


TGI says moo


Comment on Re: How to Run a shell script which is on a remote server using a Perl script

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2014-07-26 13:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (177 votes), past polls