This section describes, in detail, how CA Automation Point processes time rules during time changes.
CA Automation Point does not use dates when it evaluates time rules. The product does, however, support the concept of a day when it determines at what time the rules should be reset.
Time rules work on a 24-hour clock from 00:00 to 23:59. A day begins at 00:00. To determine when it should execute time rules, CA Automation Point internally checks the clock according to the interval specified in the Evaluation Frequency field in the Rules Settings dialog of Configuration Manager. See the dialog HTML help for more information about this field. The default interval is 60 seconds.
When the Evaluation Frequency interval expires, CA Automation Point checks the clock to see which rules should execute based on the current time and the time prior to the interval. Normally, all rules in this range execute. However, if the current time has a value that is less than the prior time—which, if the interval's value is 60 seconds, would normally occur between the interval starting at 23:59 and ending at 00:00—CA Automation Point resets the rules, bypassing any rules that have a time that is later than the start of the interval (for example, 23:59:59). Nevertheless, all rules between 00:00 and the end of the interval execute (for example, if the interval that crosses midnight moves from 23:59:30 to 00:00:30, a rule for 00:00 or 00:00:20 executes).
The reset process involves moving the NEXT time rule to fire pointer to the top of the list; this stops the processing of the EVERY keyword for the day that is ending (for example, the clause TIME(15:00) EVERY(1 HOUR) executes once an hour beginning at 3 p.m. and ending at midnight when the reset is completed).
Copyright © 2012 CA. All rights reserved. |
|