RE: Exec a script on one server that will exec other scripts on a different serv
- From: penguins_friend@xxxxxxxxxxx (Alan Reinhold)
- Date: Fri, 16 Jun 2006 14:04:11 -0700
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)" <PaulseW@xxxxxxxxxxxx>
To: "Jerry DuVal" <jduval@xxxxxxxxxxxx>, <beginners@xxxxxxxx>
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:jduval@xxxxxxxxxxxx]
Sent: 08 June 2006 03:09 PM
To: William Paulsen (W); beginners@xxxxxxxx
Subject: RE: Exec a script on one server that will exec other scripts
on a different server..
>-----Original Message-----
>From: William Paulsen (W) [mailto:PaulseW@xxxxxxxxxxxx]
>Sent: Thursday, June 08, 2006 8:54 AM
>To: beginners@xxxxxxxx
>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: beginners-unsubscribe@xxxxxxxx
For additional commands, e-mail: beginners-help@xxxxxxxx
<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/
.
- Follow-Ups:
- Re: Exec a script on one server that will exec other scripts on a different serv
- From: James Turnbull
- Re: Exec a script on one server that will exec other scripts on a different serv
- References:
- RE: Exec a script on one server that will exec other scripts on a different server..
- From: William Paulsen
- RE: Exec a script on one server that will exec other scripts on a different server..
- Prev by Date: Re: Regular Expressions with arrays
- Next by Date: Re: An array like line that I do not understand
- Previous by thread: RE: Exec a script on one server that will exec other scripts on a different server..
- Next by thread: Re: Exec a script on one server that will exec other scripts on a different serv
- Index(es):
Relevant Pages
|