in reply to Re: Sockets
in thread Can I execute scripts remotely using Perl sockets in Windows?

There are some nightly batch jobs that run in some machines. There might be a situation that I have to manually run the batch during the day. That was why I was thinking of using perl socket-server module that would help.

Most of the machines are in the network.. One or two of the machines are main servers, so they might contain a firewall.

Are there pre-written solutions for the above?
Thanks.

Replies are listed 'Best First'.
Re: Re: Re: Sockets
by tachyon (Chancellor) on Sep 25, 2003 at 09:45 UTC

    You don't need perl for this. It is easy to remotely exec stuff on Win32 machines within a network (provided we are talking NT/2000/XP). Here is a pre-rolled shareware solution that worked last time I looked: RemoteExec

    Internal network servers are unlikely to be firewalled off (Win32 depends on all sort of ports being open to function), although you may of course have permissions issues.

    cheers

    tachyon

    s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

Re: Re: Re: Sockets
by Gerard (Pilgrim) on Sep 25, 2003 at 15:35 UTC

    If they do contain firewalls, you are probably going to run into problems. I have got a similar problem before where the firewall allowed checking of email enabled, so wrote a script to check a particular pop email account every 1/2 hour or so. If I wanted to do something I would just email a specially formatted email to the address and the program would pick it up and do its job. Not the safest way of doing things perhaps, but a good work around for me. Regards, Gerard

      Use Remote Desktop connection, install the client on your machine and then connect to whatever server you need to execute the programs on.