Start Second test automatically after other test Finishes

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).
Post Reply
eddymicro
Posts: 95
Joined: Wed Nov 13, 2002 6:00 pm

Start Second test automatically after other test Finishes

Post by eddymicro »

I have an external program test that can take a variable amount of time to complete, it returns 0 when successful, it will run on a schedule of 4 times per day. As soon as it completes, I want to execute a second test, a text log test, to read the results from a file created by the first test. I cannot use figure out how to use "Waiting for Master" because the first test is always "OK". I only want to run the second test when the first test finishes successfully, so the second test does not really need a schedule.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Run Text Log 4 times a day.
Set External test as Master test for Text Log, set some long interval for this test, e.g. 23 hours (any interval that is longer than interval set for Text Log test).
This way Text Log will trigger Master test update before its own execution.

Regards
Alex
eddymicro
Posts: 95
Joined: Wed Nov 13, 2002 6:00 pm

Post by eddymicro »

Yes that is how I had set it up, with the dependent (second) test running every 23 hours.

For some reason the second test is not starting directly after the master test completes, and that is what I want to happen. I have synchronize counters on for the second test. I think it was working at one point but I am not sure what to change to force the second test to start when the first one completes.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Please check my message again, you should do opposite - set 23 hours for Master test; dependent should use your preferable schedule and trigger master.

Regards
Alex
eddymicro
Posts: 95
Joined: Wed Nov 13, 2002 6:00 pm

Post by eddymicro »

Thanks, that worked great!
Post Reply