1.

Solve : How to delay a scipt until the previous command has completed.?

Answer» HI

Is it possible to be able to pause a script I run until the previous command has completed?

I need to stop a windows service which is easy enough, but I need to wait until the service has STOPPED before the script can continue, what's the easiest way of doing this - please note this script RUNS at 01:00 and I won't be around to press a key like the "pause" command :^)

MANY thanks in advance

Simbaafter issuing the service stop command, enter a loop and only exit when you DETECT the service has stopped.

http://www.mkssoftware.com/docs/man1/service.1.asp





Discussion

No Comment Found