|
View previous topic :: View next topic |
Author |
Message |
sine
Joined: 07 Feb 2007 Posts: 37
|
Posted: Thu Feb 08, 2007 2:23 am Post subject: start 10 minutes later the master test |
|
|
hello
it's possible to schedule a test for start 10 minutes later the master test??
tnx |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12794 Location: USA
|
Posted: Thu Feb 08, 2007 11:41 am Post subject: |
|
|
You need to use 2 different schedules for these tests (its not master-dependant pair).
E.g. If you need to start such tests once a day, use Irregular schedule and "once a day" option
Regards
Alex |
|
Back to top |
|
|
sine
Joined: 07 Feb 2007 Posts: 37
|
Posted: Fri Feb 09, 2007 2:30 am Post subject: |
|
|
i need to do this
test A start every 1 hour
ONLY If test A success then test B whait 10 minutes then start
if test A not success the test B will not start
it's possible to do this? |
|
Back to top |
|
|
Yoorix
Joined: 14 Dec 2005 Posts: 177
|
Posted: Fri Feb 09, 2007 7:18 am Post subject: |
|
|
sine wrote: | test A start every 1 hour
ONLY If test A success then test B whait 10 minutes then start
if test A not success the test B will not start |
There no prepared solution in such case. I can suggest you a workaround, but it is not much reliable. So, test a performs every hour. For instance, at 08:10, 09:10, 10:10, etc. You have to setup new test B and make it to be dependent on expression: ('%::TestA_Name::SimpleStatus%'=='UP'). To make it perform with 10 min precision, you should specify "Regular Schedule" to be performed every hour and in addition use "Schedules": http://www.ks-soft.net/hostmon.eng/mframe.htm#profiles.htm#Schedules
Quote from manual:
============
Tune You may define schedules with up-to-the-minute precision. To use this feature click on "Tune" button or select "Edit intervals" item from popup menu. In a popup window appearing, you will be able to check and modify list of time intervals. To change "From" or "Till" time just type new time, to change day of the week press F2 and select day from drop-down list or type one of the following words to specify day of the week:
* Mon, Tue, Wed, Thu, Fri, Sat, San, Holiday
* type the word 'any'. HostMonitor will replicate time interval for every day of the week (including holidays)
* type the word 'work'. HostMonitor will replicate time interval for Monday-Friday
* type set of day numbers, e.g. '123' (Monday..Wednesday) or '12345678' (Monday-Sunday and Holidays) and so on
============
Lets consider, now is 09:10. So you should specify into "From" field 10:20.
We are planning, that Test A should be performed in 10:10, and schedule test B to be performed at 10:20
After test B will have been performed by HostMonitor at 10:20 first time, you should change "From" value back to 00:00. Now Test B should be performed every our 11:20, 12:20,13:20, etc in case Test a is UP.
Please note: you should adjust such shedule every time you restart the HostMonitor.
Regards,
Yoorix |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|