View previous topic :: View next topic |
Author |
Message |
samcat
Joined: 05 Sep 2012 Posts: 2
|
Posted: Wed Sep 05, 2012 11:31 pm Post subject: Test scheduling |
|
|
I have a Test scheduling problem, is the last working day of each month,(eg.2012/06/29 and 2012/09/28 ect.) and each month the second week Wednesday (eg. 2012/09/12 and 2012/11/07 etc.) this schedule Is it possible? |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Thu Sep 06, 2012 5:06 am Post subject: |
|
|
each month the second week Wednesday?
You may use "schedule by expression" option and expression like * Wed#2 15:00 (if you want to perform test at 15:00)
last day of each month?
Use "Irregular schedule" option, start test once a month; Last day
last working day of each month?
Sorry, there is no such option
Regards
Alex |
|
Back to top |
|
|
samcat
Joined: 05 Sep 2012 Posts: 2
|
Posted: Thu Sep 06, 2012 8:09 pm Post subject: |
|
|
Thank you for your reply and sorry for my poor English!
(well,maybe google translate can getting better.)
My mean is the wednesday of the second week of the each month
for example
The first day of 2012 Mar is Thursday (2012/03/01),so the Wednesday of this week is 2012/02/29 ( not Mar,this week is the first week of Mar also is the last week of February ).
So when I using * Wed#2 15:00 this rule, The Test will be perform on 2012/03/14 (3th week),but I wish it perform on 2012/03/7 (2th week).
Or other
Can I using windows Task Scheduler enable or disable test? |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Fri Sep 07, 2012 6:23 am Post subject: |
|
|
Sorry, there are no such option.
Windows Scheduler? You may use it to copy or create HM Script file into some specific location (e.g. c:\hostmon\script1.hms).
Then you need to create test (e.g. using File/Folder Availability test method) that will check if file c:\hostmon\script1.hms exists and its up to date (e.g. using "Alert when file exists and newer than N min" option) and add "Execute HM Script" action into profile assigned to this test.
HM Script allows you to enable, disable, reset, refresh, pause tests, import new tests, etc
http://ks-soft.net/hostmon.eng/mframe.htm#actions.htm#actScript
Regards
Alex |
|
Back to top |
|
|
|