This is a very interesting question... My Question is: Does the Week of the Meeting Fall on an Odd or Even Week of the Year? If it's the same every time (which it should be unless they aren't consistent) you could check for that
Calendar cal = Calendar.getInstance();
int weekOfYear = cal.get(cal.WEEK_OF_YEAR);
Once you have that Integer..you just check whether it is even or odd:
IF weekOfYear % 2 == 0 && dayOfWeek is WEDNESDAY && Time is after 1400
Although Sam's answer is absolutely correct, I would not "hardcode" this into the script itself (and even if I were forced to do that, I would leave a "manual override" option). The reason is simple: I have not seen a single organisation functioning like a clockwork. "Bi-weekly" is way too loose in my opinion.
What I would do instead: write an application, sitting on the top of a database, interfacing the UCCX server. When the script asks this application: "hey, is there a meeting?", this application of ours would response with a yes or no. The key is that the user would be able to manage the date and time when the meeting takes place. For instance, using a simple web interface (I don't really want to get carried away, but we can even think about integrating, perhaps, Exchange with this app).
1. if you have access to the UCCX web admin page, then you can implement a boolean variable in your script and mark it as a parameter. This allows you to enable or disable anything without actually overwriting the script. This is the easiest and requires no time to set it up.
2. if you do not have or do not want to give access to the UCCX web admin page, then you can use the XML (XPath) parsing function of UCCX. You can set up a Grails application perhaps that responds with a "yes" or "no" encapsulated in an XML object. It's easy but requires some programming skills.
3. if you happen to have UCCX Premium and have a supported database (Microsoft SQL Server, Oracle DB, IBM DB2) then you can have database "dips".
The short answer is that you don't.... That isn't entirely true while at
the same time it kind of is, but for the most part you don't configure
the softkeys. You enable or disable them via TCL. Here is the long
answer. Be sure to read the whole thing or e...
Topology: IP Phone > Switches > Microsoft NPS setup to forward 802.1x
proxy to > ISE 2.1 patch 3 Authentication: EAP-TLS using Cisco MIC SANs
Phone Models 802.1X support? 802.1x flavor Addtl Comment EAP-MD5 EAP-TLS
Cisco 3905 Y Y N Cisco 6911 Y Y N Cisco ...
This document describe how DST changes and how time changes are
implemented in DST. Daylight Saving Time (DST) is the practice of
setting the clocks forward 1 hour from standard time during the summer
months, and back again in the fall, in order to make b...