It would seem to be that the best solution here would be to have a server script that creates a tcp/ip socket and sites on a read on the socket, in which then the client connects to the server, sends a msg, and based on that msg, the server would execute the desired action. This would be a tpical server-client network communication procedure. The server script would sit in a state in which it is waiting for the other side of the socket to be connect by the client, accept a msg, and then disconnect the client, and what for another connection.

Alan


From: "William Paulsen (W)" <[EMAIL PROTECTED]>
To: "Jerry DuVal" <[EMAIL PROTECTED]>, <beginners@perl.org>
Subject: RE: Exec a script on one server that will exec other scripts on a different server..
Date: Thu, 8 Jun 2006 15:31:12 +0200


Adding it would be an advantage, however right now I just need setup a
client side script that'll tell the server side to exec/run one of
three scripts on the other server.

tks
William
Gugulethu

-----Original Message-----
From: Jerry DuVal [mailto:[EMAIL PROTECTED]
Sent: 08 June 2006 03:09 PM
To: William Paulsen (W); beginners@perl.org
Subject: RE: Exec a script on one server that will exec other scripts
on a different server..



>-----Original Message-----
>From: William Paulsen (W) [mailto:[EMAIL PROTECTED]
>Sent: Thursday, June 08, 2006 8:54 AM
>To: beginners@perl.org
>Subject: Exec a script on one server that will exec other scripts on
a
>different server..
>
>
>Hi,
>
>I'm trying to write a perl script that will run on one server but can
>instruct either socker server deamon on another server to exec any
one
>of three applications on a different box.  The reason for this is the
>password changes every month and the scripts that I'm currently using
>fails because of that.  Is this possible in perl?
>

Can you add public/private keys pairs then a password is not needed?


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to