The example in Figure 101 demonstrates how a specified command can be issued at regular intervals within a specified time period.
Figure 101 Example of Issuing a Command at Regular Intervals
ON EVENT = HOURLY
OWNER IOAADMIN GROUP MODE LOG RUNTSEC
THRESHOLD
DESCRIPTION ISSUE A COMMAND ONCE EACH HOUR (BETWEEN 8.00-17.00)
===========================================================================
DO COMMAND = D A,ALL
WAIT CONSOLEID CONSOLE SYSTEM
WAITMODE N
===========================================================================
IN
TIME FROM 0800 UNTIL 1700 INTERVAL 060 PRIORITY CONTINUE SEARCH Y
Explanation
The Runtime scheduling criteria include the following statement, which limits execution of this rule to a specific time period, from 8am to 5pm.
TIME FROM 0800 UNTIL 1700 INTERVAL 060
The value specified for the INTERVAL subparameter indicates that this rule is triggered every sixty minutes during the time specified in the TIME parameter.
Parent Topic |