RE: Exec a script on one server that will exec other scripts on a different serv



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/

.



Relevant Pages

  • Re: lisp as server process for shell scripts
    ... if your script begins by loading up a bunch of libraries ... server. ... is to make your server listen to a local-domain socket [a.k.a. ...
    (comp.lang.lisp)
  • Re: String manipulation - taking one long csv string and putting into separate record fields
    ... From what I can work out, it looks as if the script is taking ... "%2147746132" from the computer VPN-01 when attempting to activate the ... computer VPN-01 when attempting to activate the server: ... EXEC xp_startmail ...
    (microsoft.public.sqlserver.programming)
  • Re: Same Internal Server Error from last two days
    ... I am trying to run a Hello World Perl Script in Apache 2.2. ... But its constantly giving me Internal Server Error.The script ... # have to place corresponding `LoadModule' lines at this location so the ...
    (perl.beginners)
  • Re: Same Internal Server Error from last two days
    ... I am trying to run a Hello World Perl Script in Apache 2.2. ... But its constantly giving me Internal Server Error.The script Runs perfectly fine from the command prompt. ... # This is the main Apache HTTP server configuration file. ... LoadModule actions_module modules/mod_actions.so ...
    (perl.beginners)
  • Same Internal Server Error from last two days
    ... I am trying to run a Hello World Perl Script in Apache 2.2. ... But its constantly giving me Internal Server Error.The script ... # have to place corresponding `LoadModule' lines at this location so the ...
    (perl.beginners)