#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2012
    Posts
    86
    Rep Power
    3

    Id like to start a Perl script on a computer over the LAN


    Gentlemen!
    Id 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?
    Thank you!
    testerV
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jun 2012
    Location
    Paris area, France
    Posts
    843
    Rep Power
    496
    Is Perl installed on the distant computer? Which OS on the remote platform? How do you connect to it?
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2012
    Posts
    86
    Rep Power
    3
    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!
    testerV
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jun 2012
    Location
    Paris area, France
    Posts
    843
    Rep Power
    496
    Hi,

    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.
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2012
    Posts
    86
    Rep Power
    3
    NP man!
    Thanks for tying to help me. I really appreciate it!
    testerV
  10. #6
  11. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2012
    Posts
    11
    Rep Power
    0
    Originally Posted by Laurent_R
    Hi,

    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.
    That's my case too, sorry for not helping you testerV.
  12. #7
  13. 'fie' on me, allege-dly
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2003
    Location
    in da kitchen ...
    Posts
    12,894
    Rep Power
    6444
    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.
    --Ax
    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
    Detavil - the devil is in the detail, allegedly, and I use the term advisedly, allegedly ... oh, no, wait I did ...
    BIT COINS ANYONE
  14. #8
  15. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2012
    Posts
    86
    Rep Power
    3
    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!
    Thanks, testerV

IMN logo majestic logo threadwatch logo seochat tools logo