Hi, I need to run a command like "staf x.x.x.x process start shell command "scriptA" wait returnstdout stderrtostdout" followed by a bunch of other commands on my test machine from the server. The problem is, scriptA sometimes causes the test machine to reboot. There is no way to determine in advance if scriptA will causes the test machine to reboot or not. Secondly, there is no way to figure out how long scriptA will run hence I cannot specify the wait period to be for a certain duration before timing out. The test machine has STAFProc configured to start on reboot. The problem is, if scriptA causes the test machine to reboot, the above staf command hangs and the rest of the staf commands do not get executed. Is there a way I can specify that if the test machine reboots, the staf command should terminate, sleep till the test machine is up again and then execute the rest of the commands or is there some other way of doing this?
Thanks Anna ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users