Windows/Linux Script question

Windows/Linux Script question

Post by calambo_ » Thu, 11 Dec 2003 05:33:07


I'd like to know if the following scenario is possible:

Create a shell script on a Linux PC which accepts arguments which will
be sent from a Windows PC on the same network. Any advice would be
appreciated.
 
 
 

Windows/Linux Script question

Post by cmad_ » Fri, 12 Dec 2003 00:03:22


Well, it would be WAY easier to make a program... To be exact, 2
programs. One for server and one for client. I don't think scripts can
do such a thing... Forgive me if I am mistaken though

 
 
 

Windows/Linux Script question

Post by comean » Sat, 13 Dec 2003 07:21:03


Sure. A really basic method would be like this:

Your windows box could create the parameters and save them in a file.
From there use your favoured file transfer method (like ftp or scp) to
move the file to the desired location. "scheduled tasks" on windows
takes care of the transfer, and cron on Linux takes care of the
subsequent execution.
 
 
 

Windows/Linux Script question

Post by Steve Matl » Wed, 17 Dec 2003 13:44:56


Does it have to be a shell script. You could write it in perl which will run
on both OS's.
http://www.yqcomputer.com/

Good luck
Steve