New Scheduler options

Need new test, action, option? Post request here.
Post Reply
Kapz
Posts: 216
Joined: Mon Dec 06, 2004 2:33 pm
Location: Denmark

New Scheduler options

Post by Kapz »

Hi !

I would like to wish list two things for the Scheduler:

* Wish 1: When editing a schedule I can define "Day" as either a weekday or as Holiday. I would like to wish list "Any" as an option.

* Wish 2: It would be nice if I could specify an interval instead of static values. E.g. "Check for [X] minute(s) on [SpecifiedDay] every [Y] minutes from [StartHH:MM] till [EndHH:MM]

Trouble is that I need a schedule that checks every 15 minutes for one minute every day and it looks like I'll have to enter each entry manually in the Fine Tune List e.g. "Mo 00:00 till 00:00", "Mo 00:15 till 00:15" and so on ... for all seven days and Holidays - a total of 768 entries :(

If there already exists a (perhaps secret ) easier way I'm open to all suggestions ;)

For Wish 2 it would be sufficient with an option to specify the intervals that would then automatically create all the fields needed in the Fine Tune List. E.g. "Check for 1 minute(s) on Monday every 15 minutes from 00:00 till 23:59" would create all 96 entries needed for Monday ("Mo 00:00 till 00:00", "Mo 00:15 till 00:15" and so on).

Thanks !

Kasper :O)
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

* Wish 1: When editing a schedule I can define "Day" as either a weekday or as Holiday. I would like to wish list "Any" as an option.
We plan to improve schedule editor soon. May be before version 6.
* Wish 2: It would be nice if I could specify an interval instead of static values. E.g. "Check for [X] minute(s) on [SpecifiedDay] every [Y] minutes from [StartHH:MM] till [EndHH:MM]
Trouble is that I need a schedule that checks every 15 minutes for one minute every day and it looks like I'll have to enter each entry manually in the Fine Tune List e.g. "Mo 00:00 till 00:00", "Mo 00:15 till 00:15" and so on ... for all seven days and Holidays - a total of 768 entries
If you need to perform test every 15 minutes, may be you don't need a schedule at all? Simply set 15 min test interval.
Or its a problem if test will be performed at 15:16 instead of 15:15?

Regards
Alex
Kapz
Posts: 216
Joined: Mon Dec 06, 2004 2:33 pm
Location: Denmark

Post by Kapz »

Alex,

> If you need to perform test every 15 minutes, may be you don't need a schedule at all? Simply set 15 min test interval.
Of course - you are right !
So there *was* indeed an easier way and of course the most simple and obvious of them all which I just couldn't figure out ;)

> Or its a problem if test will be performed at 15:16 instead of 15:15?
Not at all - the purpose of this schedule is to trigger a .bat-file every 15 minutes (exact time doesn't really matter - it's the interval that counts).
The result of the test itself doesn't matter - it runs an alert profile with only one statement (Execute external action - the .bat-file - by Test Performer) triggered by the advanced mode condition (1==1) meaning that it will always be launched no matter what the test result is.

Kasper :O)
Steven
Posts: 44
Joined: Thu Feb 16, 2006 5:42 pm

interesting

Post by Steven »

interesting
This is not important so it's fine to never get an answer, but I was just curious why you would want that? why not use task scheduler?
Kapz
Posts: 216
Joined: Mon Dec 06, 2004 2:33 pm
Location: Denmark

Post by Kapz »

Steven,

> why not use task scheduler?
Because the built-in Task Scheduler simply is too unreliable. Somehow one of the worlds biggest software vendors cannot code a scheduler that works 100% of the time.

HM has proven to be a very reliable scheduler and since we started using HM for these purposes as well as 'normal' monitoring we've discovered quite a few advantages of having scheduled tasks launched centralized.
The most obvious is that if we for one reason or another choose to reschedule a certain task that runs on say 75 servers, we can do it by changing one single alert profile in HM as all 75 tests uses the same alert profile that launch e.g. a .bat-file on the individual server as it's launched by Test Performer (the RMA on each server).
Also by letting HM do this we've got one single logfile that tells if the test was launched for all 75 servers.

Kasper :O)
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Ok, some impovements has been made: www.ks-soft.net/download/hm589.zip
When you are tuning schedule, in "Day" field of the table you may type:
1) Mon, Tue, Wed, Thu, Fri, Sat, San, Holiday (just like before)
plus
2) now you may type any. HostMonitor will replicate time interval for every day of the week (including holidays)
3) you may type work. HostMonitor will replicate time interval for Monday-Friday
4) you may type set of day numbers, e.g. 123 (Monday..Wednesday) or 12345678 (Monday..Sundey+Holidays) and so on

Regards
Alex
Steven
Posts: 44
Joined: Thu Feb 16, 2006 5:42 pm

Post by Steven »

Hmmm.... how handy...
Kapz
Posts: 216
Joined: Mon Dec 06, 2004 2:33 pm
Location: Denmark

Post by Kapz »

Alex,

Very cool improvements - thanks a lot :)

Kasper :O)
Post Reply