how to create a schedule to exclude specific dates
-
- Posts: 229
- Joined: Tue Jun 20, 2006 1:20 pm
- Location: Montreal, Quebec
how to create a schedule to exclude specific dates
Hi,
I looked at the help for schedules and it does not say how to create schedules with regular expressions (or at least I don't understand it)
What I want to achieve is to set up a schedule that would allow the test to run every XX hours 24/7 on choosen dates.
precisely I need this specific job to run everyday except the 1rst of the month.
If you could help, it would be great.
Thanks,
I looked at the help for schedules and it does not say how to create schedules with regular expressions (or at least I don't understand it)
What I want to achieve is to set up a schedule that would allow the test to run every XX hours 24/7 on choosen dates.
precisely I need this specific job to run everyday except the 1rst of the month.
If you could help, it would be great.
Thanks,
Check the manual for "Irregular schedule by expression" section. There are examples as well.I looked at the help for schedules and it does not say how to create schedules with regular expressions (or at least I don't understand it)
What version of HostMonitor do you use?
That's easy: * 2-31 10:30precisely I need this specific job to run everyday except the 1rst of the month
* means every month
2-31 means on 2nd, 3rd, 4th... 31st day of the month
Last parameter (10:30) its time of the day when you want to execute your test.
Regards
Alex
-
- Posts: 229
- Joined: Tue Jun 20, 2006 1:20 pm
- Location: Montreal, Quebec
Hi,
thank you alex.
By looking at the online help, the only topic for schedules that I find is in profiles/schedules and this page does not talk about Irregular schedule by expression
I am probably not looking at the righ place, but I looked around carefully and I cant find any help on Irregular schedule by expression
anyhow, in the test properties, when I click on the "By expression" tab, I see two drop down lists which have no labels so I can't know what they are.
so, if I follow your advice, I would need to write this rule for this to work every 4 hours:
* 2-31 2:00 6:00 10:00 14:00 18:00 22:00
right? but in which drop down list?
Thank you Alex for your precious time
thank you alex.
By looking at the online help, the only topic for schedules that I find is in profiles/schedules and this page does not talk about Irregular schedule by expression
I am probably not looking at the righ place, but I looked around carefully and I cant find any help on Irregular schedule by expression
anyhow, in the test properties, when I click on the "By expression" tab, I see two drop down lists which have no labels so I can't know what they are.
so, if I follow your advice, I would need to write this rule for this to work every 4 hours:
* 2-31 2:00 6:00 10:00 14:00 18:00 22:00
right? but in which drop down list?
Thank you Alex for your precious time
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
You may fing this information at:By looking at the online help, the only topic for schedules that I find is in profiles/schedules and this page does not talk about Irregular schedule by expression
I am probably not looking at the righ place, but I looked around carefully and I cant find any help on Irregular schedule by expression
http://www.ks-soft.net/hostmon.eng/mfra ... m#Schedule
Not exactly, expression should look like the following:so, if I follow your advice, I would need to write this rule for this to work every 4 hours:
* 2-31 2:00 6:00 10:00 14:00 18:00 22:00
* 2-31 2:00,6:00,10:00,14:00,18:00,22:00
Sevaral examples from manual:
Examples:
* * 10:30 Every day at 10:30
* * *:30 Every day at 00:30, 01:30, 02:30 ... 23:30
* * *:00,*:30 Every hour at 00 and 30 min
* 10-15 00:00 Every midnight from 10th to 15th day of each month
* Wed,Fri 10:30,*:00 Every Wednesday and Friday, every hour at 00 min and 10:30
Jun 5,10,15 20:00 Start test at 20:00 on June 5th, 10th and 15th
Oct,Nov Mon-Fri#2 15:00,17:20 Every 2nd Monday-Friday of the month (October and November only) at 15:00 and 17:20
May,Oct-Dec Mon#1,Fri#L 22:00 Start test in May, October, November and December every 1st Monday and last Friday of the month at 22:00
Jan,May,Sep Mon,Fri,Sun#1 15:30 Start test every Monday, every Friday and 1st Sunday of January, May and September at 15:30
HostMonitor supports up to 2 expressions for each test item.but in which drop down list?
You may specify expression in one of these two fields.
-
- Posts: 229
- Joined: Tue Jun 20, 2006 1:20 pm
- Location: Montreal, Quebec
Its located in Test Properties -> Common Test Properties section.By looking at the online help, the only topic for schedules that I find is in profiles/schedules and this page does not talk about Irregular schedule by expression
There is simple trick how to get relevant information quickly - press F1.
HostMonitor/RCC GUI checks what element is active and tries to open help in section that describes this option (on Windows 7+, you need to close help before pressing F1, otherwise it will keep old page active).
Also there is manual in MS Word format (check manual.doc file). In some cases its better to use this manual, e.g. it easy to use "Find" function.
Thank youAs usual your help is highly accurate and courteous, in my experience, an industry reference and example to follow!
Regards
Alex
-
- Posts: 229
- Joined: Tue Jun 20, 2006 1:20 pm
- Location: Montreal, Quebec
-
- Posts: 229
- Joined: Tue Jun 20, 2006 1:20 pm
- Location: Montreal, Quebec
What Windows do you use?
-My workstation is Windows 7 Ultimate 64
Service Pack?
- SP1
RCC starts from local drive? Server?
- RCC is on the server and I execute it on my desktop
Do you have hostmon.chm file in folder where RCC located?
- I just checked using my shortcut properties (to ensure i am looking a the same folder as I should when I click on my RCC shortcut) and Yes, hostmon.chm is there
when I click on it, it gives me a blank page, URL properties are:
res://ieframe.dll/navcancl.htm#mk:@MSITStore:\\[My Server Name]\c$\Program%20Files\HostMonitor7\hostmon.chm::/HTML/mframe.htm
-My workstation is Windows 7 Ultimate 64
Service Pack?
- SP1
RCC starts from local drive? Server?
- RCC is on the server and I execute it on my desktop
Do you have hostmon.chm file in folder where RCC located?
- I just checked using my shortcut properties (to ensure i am looking a the same folder as I should when I click on my RCC shortcut) and Yes, hostmon.chm is there
when I click on it, it gives me a blank page, URL properties are:
res://ieframe.dll/navcancl.htm#mk:@MSITStore:\\[My Server Name]\c$\Program%20Files\HostMonitor7\hostmon.chm::/HTML/mframe.htm
-
- Posts: 229
- Joined: Tue Jun 20, 2006 1:20 pm
- Location: Montreal, Quebec
Hi Alex,
my post from Fri Nov 02, 2012 6:28 pm seems to prevent this page to display correctly because I copied the IE error message.
can you edit it to remove the error message I copied?
I could post this message with firefox though, sorry for the inconvenience.
to answer your suggestion: Yes I could do that, but if you remember we had a concversation on this some time ago as I suggested that RCC should update itself when installed on a remote machine if the server gets updated and the RCC needs an update to work with the new server version, expecially for users that don't have "share access" on the server hosting HM server.
At that time, if my memory is good, you suggested me to create a link on the server for RCC (as I have share access) to make sure I always have the right compatible version.
Anyways, I will do like you suggest now.
Thanks,
my post from Fri Nov 02, 2012 6:28 pm seems to prevent this page to display correctly because I copied the IE error message.
can you edit it to remove the error message I copied?
I could post this message with firefox though, sorry for the inconvenience.
to answer your suggestion: Yes I could do that, but if you remember we had a concversation on this some time ago as I suggested that RCC should update itself when installed on a remote machine if the server gets updated and the RCC needs an update to work with the new server version, expecially for users that don't have "share access" on the server hosting HM server.
At that time, if my memory is good, you suggested me to create a link on the server for RCC (as I have share access) to make sure I always have the right compatible version.
Anyways, I will do like you suggest now.
Thanks,