View previous topic :: View next topic |
Author |
Message |
apastorelli
Joined: 18 Apr 2005 Posts: 2
|
Posted: Mon Apr 18, 2005 8:42 am Post subject: Command Line options |
|
|
Can I launch my HM4 & import a .txt list at the same time by command shell (DOS) ???
Thanks ...
A.P. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Mon Apr 18, 2005 5:01 pm Post subject: |
|
|
There are no such command line parameter...
However you may configure HostMonitor to load/import test items every time text list is changed. E.g. you may use "File Integrity" test method to check text list for updates and use "Execute HM Script" action to import new list.
What the reason to reload HostMonitor?
Regards
Alex |
|
Back to top |
|
|
apastorelli
Joined: 18 Apr 2005 Posts: 2
|
Posted: Tue Apr 19, 2005 9:59 am Post subject: |
|
|
Hi Alex,
I'm designing a tool to export from a database a list of customers and to check them (ping) by HM ...
It could be better to import the list directly without EXPLAINING to the user how to do it ...
thanks a lot |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Tue Apr 19, 2005 2:13 pm Post subject: |
|
|
So, you don't need to restart HostMonitor, right?
Regards
Alex |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Tue Apr 19, 2005 2:22 pm Post subject: |
|
|
Actually even if you want to restart HostMonitor, you may use the same import technology - some test that triggers "Execute HM Script" action and script with "ImportFromFile" command.
That "some" test can be stored in any HML file. Certain HML file can be loaded with command line parameter "/List=<FileName>". E.g. "hostmon.exe /List="c:\hostmon\startimport.hml"
Regards
Alex |
|
Back to top |
|
|
|