Hi all
I'm new with HostMon
Is it possible to run external scripts if a test got failed. I have several scripts which I want to run e.g. when drive C: is getting full at script should run and delete *.log older 5 days from a specific folder.
Thanks for any comments
Regards
Thorre
How to run external scripts likle bat or vbs
HostMonitor offers 30 action methods
http://www.ks-soft.net/hostmon.eng/index-actions.htm
There is "Execute external program" action that allows you to start external applications
http://www.ks-soft.net/hostmon.eng/mfra ... htm#actPrg
E.g. cmd /c c:\scripts\deletelogfiles.bat
Regards
Alex
http://www.ks-soft.net/hostmon.eng/index-actions.htm
There is "Execute external program" action that allows you to start external applications
http://www.ks-soft.net/hostmon.eng/mfra ... htm#actPrg
E.g. cmd /c c:\scripts\deletelogfiles.bat
Regards
Alex
Hi Alexs
It's still not possible for me to run external scripts. I did it exactly the way you explained. but it seems that still something is wrong. I can only run the script manually to get it done. For me it looks like that HostMon dosn't get the trigger to start the script or HM can find the srcipt in the path I specified or there is a special command needed.
Is there a log file within HM where I can see such kind of problemsß
Thanks for any comments
Best Regards
Thorre
It's still not possible for me to run external scripts. I did it exactly the way you explained. but it seems that still something is wrong. I can only run the script manually to get it done. For me it looks like that HostMon dosn't get the trigger to start the script or HM can find the srcipt in the path I specified or there is a special command needed.
Is there a log file within HM where I can see such kind of problemsß
Thanks for any comments
Best Regards
Thorre
The following article explains what logs and setting you should check
http://www.ks-soft.net/cgi-bin/phpBB/vi ... php?t=4804
May I see your command line used for the action? There is common mistake - many customers try to start BAT files without using command processor (cmd.exe).
Regards
Alex
http://www.ks-soft.net/cgi-bin/phpBB/vi ... php?t=4804
May I see your command line used for the action? There is common mistake - many customers try to start BAT files without using command processor (cmd.exe).
Regards
Alex
I think I found the error. I found some usefull info here:
http://www.ks-soft.net/cgi-bin/phpBB/vi ... ld&start=0
Thanks so far Alex
Regards
Thorre
http://www.ks-soft.net/cgi-bin/phpBB/vi ... ld&start=0
Thanks so far Alex
Regards
Thorre