November 3rd, 2012, 10:59 PM
I’d like to start a Perl script on a computer over the LAN
I’d like to start a Perl script on a computer over the LAN (WXP). I suspect I should use a Perl Module.
Does anybody know which one or if I could do it this without one?
November 4th, 2012, 03:46 AM
Is Perl installed on the distant computer? Which OS on the remote platform? How do you connect to it?
November 4th, 2012, 04:39 PM
All 5 machines have WXP (SP2) and Perl 5.8 installed.
Host communicates to 4 clients VIA Lan only.
Username and a password used to log to the client and a Host.
I thought if I map D drive from the Host to a client it'll be easier to start my script.
I wanted to start my script on the Host from a client.
Thanks for the reply Lauren R!
November 4th, 2012, 04:51 PM
sorry, but I have no idea on how to do it on Windows XP. I don't even know how to connect to a distant machine running XP.
November 4th, 2012, 04:55 PM
Thanks for tying to help me. I really appreciate it!
November 5th, 2012, 12:21 AM
That's my case too, sorry for not helping you testerV.
Originally Posted by Laurent_R
November 5th, 2012, 01:03 PM
If you set the script up as a service on the remote boxen, then net start, or sc (if it's in XP) could be what you're after.
If that doesn't work, then you could have a service monitor a directory for scripts, and when you want to execute, ftp (preferably sftp) the file over to the intended box, the service would execute the script, and for acknowledgement sftp the result back to an accessible directory on the originating machine
AT could also be a runner here
If you are only doing this on the 5 boxen, then maybe sysinternals ps tools would be worth installing ... ymmv
Last edited by Axweildr; November 5th, 2012 at 01:06 PM.
without exception, there is no rule ...
Handmade Irish Jewellery
Targeted Advertising Cookie Optout (TACO) extension for Firefox
The great thing about Object Oriented code is that it can make small, simple problems look like large, complex ones
09 F9 11 02
9D 74 E3 5B
D8 41 56 C5
63 56 88 C0
Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems.
-- Jamie Zawinski
- the devil is in the detail, allegedly, and I use the term advisedly, allegedly ... oh, no, wait I did ...
BIT COINS ANYONE
November 5th, 2012, 08:33 PM
NP Edward25! I really appreciate you are trying help me! Looking in to "my problem" spending you time Dude. Thanks!
Axweildr, I'll try it tomorrow, I think it might work that is great idea!