Test scheduling

Need new test, action, option? Post request here.
Post Reply
samcat
Posts: 2
Joined: Wed Sep 05, 2012 3:05 am

Test scheduling

Post by samcat »

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?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

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
samcat
Posts: 2
Joined: Wed Sep 05, 2012 3:05 am

Post by samcat »

:D 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?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

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.h ... #actScript

Regards
Alex
Post Reply