I want to run a test once each Mon. through Fri. morning at 7:00 am.
I don't think that can be setup in irregular or regular schedule directly. I've setup the test to run on a regular schedule every 2 hours, and then I setup a Schedule that is enabled Mon. through Fri. at 7:00 am.
What I want is the test to show the last status of the test when it was in schedule instead of showing a status of out of schedule. Can that be done with the optional status processing? Instead of fumbling through trying to figure it out, I thought I'd ask here.
Or perhaps this should be a wish list? Add more options to the irregular schedule? For example:
Daily -- then you can specify multiple set times each day
Weekly -- then you can specify multiple set times with a checkbox for which days to run on (this would be perfect for what I want to do).
Monthly -- could add options for "first Mon. of the month" or "last Fri. of the month" in addition to the specific day of the month.
out-of-schedule status
Yes, you need to use schedule profile.I want to run a test once each Mon. through Fri. morning at 7:00 am. I don't think that can be setup in irregular or regular schedule directly. I've setup the test to run on a regular schedule every 2 hours, and then I setup a Schedule that is enabled Mon. through Fri. at 7:00 am.
No, it will not work in such case.What I want is the test to show the last status of the test when it was in schedule instead of showing a status of out of schedule. Can that be done with the optional status processing?
The only solution I see - use longer test interval. E.g. if you set test interval to 23 hours then HostMonitor will set "Out of Schedule" status only between 6:00 and 7:00 (also it may set "Out of Schedule" status when somebody "refreshes" test items). You may set test interval to 23 hours and 50 minutes. Do not set 23:59 - if HostMonitor will be busy performing other tests, test execution time for this item can be moved slightly every day...
H'm... low priority taskOr perhaps this should be a wish list? Add more options to the irregular schedule? For example:
Daily -- then you can specify multiple set times each day
Weekly -- then you can specify multiple set times with a checkbox for which days to run on (this would be perfect for what I want to do).
Monthly -- could add options for "first Mon. of the month" or "last Fri. of the month" in addition to the specific day of the month
Regards
Alex
-
- Posts: 25
- Joined: Thu Sep 11, 2008 11:06 am
I'll have to test that. I think what you're saying is it'll only show a status of out-of-schedule if it actually tries to run when it's out-of-schedule. So then it'll show the last status unless I click the refresh button or I shutdown/restart hostmonitor. This also assumes that it will ALWAYS run immediately upon the test entering the in-schedule status. Otherwise, if I set it for 23 hours and then I refresh at 3:00pm (which won't run because it's out-of-schedule), it's not scheduled to repeat until 2:00pm the next day. I'm assuming that it will instead run immediately at 7:00 am when the test changes to in-schedule.KS-Soft wrote:Yes, you need to use schedule profile.I want to run a test once each Mon. through Fri. morning at 7:00 am. I don't think that can be setup in irregular or regular schedule directly. I've setup the test to run on a regular schedule every 2 hours, and then I setup a Schedule that is enabled Mon. through Fri. at 7:00 am.
No, it will not work in such case.What I want is the test to show the last status of the test when it was in schedule instead of showing a status of out of schedule. Can that be done with the optional status processing?
The only solution I see - use longer test interval. E.g. if you set test interval to 23 hours then HostMonitor will set "Out of Schedule" status only between 6:00 and 7:00 (also it may set "Out of Schedule" status when somebody "refreshes" test items). You may set test interval to 23 hours and 50 minutes. Do not set 23:59 - if HostMonitor will be busy performing other tests, test execution time for this item can be moved slightly every day...
I can understand that. I'm surprised you haven't had more requests for this type of scheduling flexibility.H'm... low priority taskOr perhaps this should be a wish list? Add more options to the irregular schedule? For example:
Daily -- then you can specify multiple set times each day
Weekly -- then you can specify multiple set times with a checkbox for which days to run on (this would be perfect for what I want to do).
Monthly -- could add options for "first Mon. of the month" or "last Fri. of the month" in addition to the specific day of the month
BTW--the other method to accomplish this (which I might use) is to create 5 separate tasks--one for each day--and use the weekly irregular option instead of the daily. Guess I'm glad I got the Pro version instead of Standard.
Correct.I think what you're saying is it'll only show a status of out-of-schedule if it actually tries to run when it's out-of-schedule
CorrectSo then it'll show the last status unless I click the refresh button or I shutdown/restart hostmonitor
Well, not always. However if "out of schedule" time interval is longer than test interval then yes.This also assumes that it will ALWAYS run immediately upon the test entering the in-schedule status
If you are using HostMonitor 7.50+, it will ask for confirmation and it will run the test if you confirm operation (and you have enough rights for such operation).Otherwise, if I set it for 23 hours and then I refresh at 3:00pm (which won't run because it's out-of-schedule)
H'm.. if you setup test interval to 23 hours and you refresh test at 3pm then HostMonitor will not start test at 7.00it's not scheduled to repeat until 2:00pm the next day. I'm assuming that it will instead run immediately at 7:00 am when the test changes to in-schedule

However there is another solution - use built in scheduler to "refresh" test at 7:00 (create "on the schedule" action to start HMScript with "RefreshTest" command)
http://www.ks-soft.net/hostmon.eng/mfra ... #actScript
Yeah, complicated

Regards
Alex
-
- Posts: 25
- Joined: Thu Sep 11, 2008 11:06 am
I'll have to mess around and see if I can figure that out. My other idea of 5 separate tests won't work as I'm checking the NT event log--which I only want to check the events from the last day, not the events from the last week.KS-Soft wrote:However there is another solution - use built in scheduler to "refresh" test at 7:00 (create "on the schedule" action to start HMScript with "RefreshTest" command)
http://www.ks-soft.net/hostmon.eng/mfra ... #actScript
Yeah, complicated![]()
Regards
Alex
-
- Posts: 25
- Joined: Thu Sep 11, 2008 11:06 am
I think that's only true if you manually refresh and force it to run even though it's out-of-schedule. Like this:KS-Soft wrote:H'm.. if you setup test interval to 23 hours and you refresh test at 3pm then HostMonitor will not start test at 7.00![]()
Test is set to run every 23 hours.
Schedule is setup to only allow a 20 minute window at 7:00am Mon-Fri.
Test runs at 7:00 am. If I click the Global refresh button, then the test will attempt to run but fail because of out-of-schedule. Status changes to out-of-schedule. However, since it didn't actually run, it's still going to run at 7:00 am the next morning.
If, however, I chose to refresh the selected test after it's in out-of-schedule status and I chose to force it even though it's not-in-schedule, THEN it won't run the next morning because it'll be less than 23 hours since the last time it ran (I'm ignoring the refresh test idea in this example).