All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
William
Posts: 5 Joined: Mon Sep 26, 2016 12:05 am
Post
by William » Mon Sep 26, 2016 12:12 am
Hello HM
I am testing HM for our compagny.
I created a blanco shell script only with these lines in it.
Code: Select all
statusOk = "ScriptRes:Ok:"
WScript.StdOut.Write(statusOk);
start cmd : cmd /c "w32tm /resync"
i only want to resync the time on our Windows server every 2 hours.
i still got this error in the Reply field:
Error: Invalid result (Sending resync command to local computer
The command completed successfully.)
How can i tune up the reply that it allways give me an OK back
Thanks
William
KS-Soft
Posts: 13012 Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:
Post
by KS-Soft » Mon Sep 26, 2016 9:52 am
You created some script but as I understand you do not start that script.
You start external application w32tm.exe
Also I do not understand why do you need script?
Just start external application using External test method
http://www.ks-soft.net/hostmon.eng/mfra ... m#execheck
Regards
Alex