Tests at a specific time
Tests at a specific time
Hello,
maybe i'm blind but i cannot find any solution for the following problem:
i want to run a test every hour. So far so good.
But the test should run at 09:05, 10:05, 11:05 etc.
How do i ensure this ?
I can use the schedule to run every hour but when is this hour ?
Thanks for an answer.
Greetings
Thomas
maybe i'm blind but i cannot find any solution for the following problem:
i want to run a test every hour. So far so good.
But the test should run at 09:05, 10:05, 11:05 etc.
How do i ensure this ?
I can use the schedule to run every hour but when is this hour ?
Thanks for an answer.
Greetings
Thomas
Quote from the manual:
Mon 9:05 - 9:06
Mon 10:05 - 10:06
Mon 11:05 - 11:06
Mon 12:05 - 12:06
...
Tue 9:05 - 9:06
Tue 10:05 - 10:06
Tue 11:05 - 11:06
Tue 12:05 - 12:06
...
H'm, a lot of work... If you do not want to perform test at night time (you said "9:05, 10:05.."), I think you may use schedule restriction till 9:05, then test will be performed every hour, so you do not need additional schedule items. You may use simple schedule like
Mon 9:05 - 18:05
Tue 9:05 - 18:05
Wed 9:05 - 18:05
Thu 9:05 - 18:05
Fri 9:05 - 18:05
Regards
Alex
LikeTune
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 week press F2 and select day from drop-down list. To append a new interval to the list go to the last existing line and press Down Arrow button, to insert new line anywhere in the list press INSERT button. To remove line press CTRL+DEL.
Mon 9:05 - 9:06
Mon 10:05 - 10:06
Mon 11:05 - 11:06
Mon 12:05 - 12:06
...
Tue 9:05 - 9:06
Tue 10:05 - 10:06
Tue 11:05 - 11:06
Tue 12:05 - 12:06
...
H'm, a lot of work... If you do not want to perform test at night time (you said "9:05, 10:05.."), I think you may use schedule restriction till 9:05, then test will be performed every hour, so you do not need additional schedule items. You may use simple schedule like
Mon 9:05 - 18:05
Tue 9:05 - 18:05
Wed 9:05 - 18:05
Thu 9:05 - 18:05
Fri 9:05 - 18:05
Regards
Alex
There is more complex case. It is necessary to run a test every minute under the schedule: from 00:15 till 00:20, from 00:30 till 00:35, from 00:45 till 00:50. And so each hour, day and night. Very tiresomely to fill such schedule (I tried). Can be make an opportunity to input the schedule as crontab in UNIX?
Like this:
15-20,30-35,45-50 * * * * run test
The schedule resulted above will look like:
05 9-18 * * * run test
Like this:
15-20,30-35,45-50 * * * * run test
The schedule resulted above will look like:
05 9-18 * * * run test
I have a problem with more than 100 tests of queries to Oracle (external tests) every hour. They have failure when are performed simultaneously (at start HostMonitor). If I could set the schedule similar resulted above, my problem would be solved.
Like this:
01 * * * * run test1 and test 2
02 * * * * run test3 and test 4
03 * * * * run test5 and test 6
...
50 * * * * run test99 and test 100
Like this:
01 * * * * run test1 and test 2
02 * * * * run test3 and test 4
03 * * * * run test5 and test 6
...
50 * * * * run test99 and test 100
H'm... If you are using Oracle test method, we can add option for Oracle check like "Perform Oracle checks one by one".
But if I understand you correctly you are using "External" test method. Right?
May be we can add "Folder" level option, so tests within specified folder will not be performed simultaneously...
Regards
Alex
But if I understand you correctly you are using "External" test method. Right?
May be we can add "Folder" level option, so tests within specified folder will not be performed simultaneously...
Regards
Alex
PS If you are using some home made script to perform Oracle checks and you cannot start several instances of this script at the same time, probably its easy to modify script?
E.g. on the begining script can check some flag (some field), then:
- if flag does not exist, set flag, execute script and clear the flag
- if flag exists, wait until another instance clears the flag
Regards
Alex
E.g. on the begining script can check some flag (some field), then:
- if flag does not exist, set flag, execute script and clear the flag
- if flag exists, wait until another instance clears the flag
Regards
Alex
Not a Oracle check, but SQL-query with the subsequent result processing.KS-Soft wrote:H'm... If you are using Oracle test method, we can add option for Oracle check like "Perform Oracle checks one by one".
Yes, Perl script. The ODBC Query test has no necessary functionality for the subsequent result processing.KS-Soft wrote:But if I understand you correctly you are using "External" test method. Right?
Yes, it will be the decision of a problem.KS-Soft wrote:May be we can add "Folder" level option, so tests within specified folder will not be performed simultaneously...
It can be the temporary decision of a problem (in Russian - "crutch"). Disadvantage is obvious - many processes perl.exe in the memory, expecting performance.KS-Soft wrote:PS If you are using some home made script to perform Oracle checks and you cannot start several instances of this script at the same time, probably its easy to modify script?
E.g. on the begining script can check some flag (some field), then:
- if flag does not exist, set flag, execute script and clear the flag
- if flag exists, wait until another instance clears the flag
Ok, there is new version at www.ks-soft.net/download/hm535d.zip
Now you may set "Non-simultaneously test execution" option in the Folder Properties dialog ("Specials" tab)
Regards
Alex
Now you may set "Non-simultaneously test execution" option in the Folder Properties dialog ("Specials" tab)
Regards
Alex
You can configure to run a test at 12:58. Use Schedulerare there Plans to include a Time-Feature in a next Version ?
(i can configure to run a test at 12:58 for example)
http://www.ks-soft.net/hostmon.eng/mfra ... #Schedules
Regards
Alex
I have to strongly back up LoosInt's opinion.
It is really a pain to define such schedules for timetables that could be so easy. Whereas it might work that way it is inconvinient and illogical and therefor error prone to define a test running each full hour with a hundreds of clicks and entries.
How would I fine tune a test that runs each full hour ? Do you really expect me to fine tune 16x24 (= 384!!!!) settings?
How would I fine tune a test that runs 00/10/20/30/40/50 per hour ? Do you really expect me to fine tune 6x16x24 (= 2304!!!!) settings?
etc.pp.
BTW it is not explained in the help which "test every" I had to use? Every second? Every hour? Why, where is the logic? What happens if I start hostmon in the middle of an hour?
*nix provides a well-tried way to define such absolute schedules and I want the same in HostMon.
Thank you, Rainer
P.S. Such a great piece of software with brilliant features but then those gaps. Sometimes it really takes me wonder if you ever seriously used your software yourself. What frightens me here is less that the feature is not yet implemented but that you sound as if it was perfectly okay the way it is.
It is really a pain to define such schedules for timetables that could be so easy. Whereas it might work that way it is inconvinient and illogical and therefor error prone to define a test running each full hour with a hundreds of clicks and entries.
How would I fine tune a test that runs each full hour ? Do you really expect me to fine tune 16x24 (= 384!!!!) settings?
How would I fine tune a test that runs 00/10/20/30/40/50 per hour ? Do you really expect me to fine tune 6x16x24 (= 2304!!!!) settings?
etc.pp.
BTW it is not explained in the help which "test every" I had to use? Every second? Every hour? Why, where is the logic? What happens if I start hostmon in the middle of an hour?
*nix provides a well-tried way to define such absolute schedules and I want the same in HostMon.
Thank you, Rainer
P.S. Such a great piece of software with brilliant features but then those gaps. Sometimes it really takes me wonder if you ever seriously used your software yourself. What frightens me here is less that the feature is not yet implemented but that you sound as if it was perfectly okay the way it is.
We have such task in "to do" list. It has low priority because we think most users do not need such option.
If we are wrong, please post your opinion into "Wish list" forum. Use "Problem and Bugs" forum what something does not work.
Regards
Alex
If we are wrong, please post your opinion into "Wish list" forum. Use "Problem and Bugs" forum what something does not work.
Regards
Alex
Last edited by KS-Soft on Mon Jan 02, 2006 11:34 pm, edited 1 time in total.