How To Remotely Administer/Validate Unix Server Via Windows Machine?
Hi–I have a UNIX web server and a Windows machine. My manager is asking me to script the following tasks so that they can be run from the Windows machine (via a batch file): 1. Shutdown web services on remote UNIX server. 2. FTP (ie, get) various files/folders from the UNIX server to Windows client. 3. Startup web services on the UNIX server. I can accomplish #1 using putty’s “plink” command, but I need help figuring out how to get my Windows script to validate that the “Web Services shutdown” completes successfully before it attempts to FTP (ie, get) the UNIX files. Also, I’d appreciate any ideas for getting my Windows script to validate the “Web Services startup” completes successfully. Please let me know your thoughts. Thanks in advance!