| Does anyone
know how you can let a script (in vbs) "sleep" for some seconds in MOM? "WScript.Sleep
1000" doesn't work, because the WScript commando's are not supported in MOM.
Contributed
By: Michael T La Rivière {MS}
Procedures like this should NOT be used to pause MOM scripts. The MOM
Utility object provides a Sleep method for creating delays. It is documented
in the SP1 online help.
There's a big difference between pausing a process and keeping it
frantically busy with a loop. The Delay procedure retrieves the current
date/time several hundred thousand times during each second. If you run this
outside of MOM in a regular WSH script, you can open task manager and watch
the CPU use jump to nearly 100% while it is running!
|