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

Re^2: run perl script on remote server

by sumit07 (Novice)
on Sep 08, 2012 at 05:19 UTC ( [id://992428]=note: print w/replies, xml ) Need Help??


in reply to Re: run perl script on remote server
in thread run perl script on remote server

thanks Rudolf for ur quick reply. First thing is that servers are in different machines. now to run perl script locally we write perl <filename> but in this case how to call it in remote machine could u plz clarify

Replies are listed 'Best First'.
Re^3: run perl script on remote server
by Rudolf (Pilgrim) on Sep 08, 2012 at 14:48 UTC

    Ah, okay the clarification definetly helps. I do not believe there is any other way to send your command over to the server without using another piece of software however depending on the server type itself, you can set up something to listen for you and you can then write to that program ( via TCP connection ) something like you would regularly on your local machine- "perl <filename>" and if you can set up server A to run a system command of the collected data from the socket, it will send "perl <filename> to its local command line.

    It would be important to note what kind of servers they are? Also it would make things a lot easier if they were made out of perl hehe.

    Best of luck though, - Rudolf

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-25 23:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found