how to create a schedule to exclude specific dates

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
Robert_in_MTL
Posts: 229
Joined: Tue Jun 20, 2006 1:20 pm
Location: Montreal, Quebec

how to create a schedule to exclude specific dates

Post by Robert_in_MTL »

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

Post by KS-Soft »

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)
Check the manual for "Irregular schedule by expression" section. There are examples as well.
What version of HostMonitor do you use?
precisely I need this specific job to run everyday except the 1rst of the month
That's easy: * 2-31 10:30
* 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
Robert_in_MTL
Posts: 229
Joined: Tue Jun 20, 2006 1:20 pm
Location: Montreal, Quebec

Post by Robert_in_MTL »

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
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

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
You may fing this information at:
http://www.ks-soft.net/hostmon.eng/mfra ... m#Schedule
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
Not exactly, expression should look like the following:
* 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
but in which drop down list?
HostMonitor supports up to 2 expressions for each test item.
You may specify expression in one of these two fields.
Robert_in_MTL
Posts: 229
Joined: Tue Jun 20, 2006 1:20 pm
Location: Montreal, Quebec

Post by Robert_in_MTL »

Thank you very much Alex.

As usual your help is highly accurate and courteous, in my experience, an industry reference and example to follow!
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

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
Its located in Test Properties -> Common Test Properties section.
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.
As usual your help is highly accurate and courteous, in my experience, an industry reference and example to follow!
Thank you

Regards
Alex
Robert_in_MTL
Posts: 229
Joined: Tue Jun 20, 2006 1:20 pm
Location: Montreal, Quebec

Post by Robert_in_MTL »

Actually I am using the RCC from my desktop and the help from pressing F1 only brings a blank page so that's why I went on the site ;)
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

What Windows do you use?
Service Pack?
RCC starts from local drive? Server?
Do you have hostmon.chm file in folder where RCC located?

Regards
Alex
Robert_in_MTL
Posts: 229
Joined: Tue Jun 20, 2006 1:20 pm
Location: Montreal, Quebec

Post by Robert_in_MTL »

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

Post by KS-Soft »

You may copy rcc.exe, rcc.ini and hostmon.chm to your computer. It should help

Regards
Alex
Robert_in_MTL
Posts: 229
Joined: Tue Jun 20, 2006 1:20 pm
Location: Montreal, Quebec

Post by Robert_in_MTL »

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,
Post Reply