The event element configures a recurring event. This element may appear zero or more times within the server element. For more information, see server.
The event element can contain the following subelements:
Table 3–19 List of event Subelements| Element | Occurrences | Description | 
|---|---|---|
| enabled | 0 or 1 | Determines whether the event is enabled at runtime. The default value is true. | 
| time | 0 or more | Configures a specific time when the event occurs. For more details, see time. | 
| interval | 0 or 1 | The interval (in seconds) at which the event occurs. The value can be from 60 to 86400. | 
| rotate-log | 0 or 1 | Rotates the log files. The default value is false. | 
| rotate-access-log | 0 or 1 | Rotates the access log files. The default value is false. | 
| command | 0 or more | The command to execute when the event runs. | 
| reconfig | 0 or 1 | Dynamically reconfigures the server. The default value is false. | 
| restart | 0 or 1 | Restarts the server. The default value is false. | 
| description | 0 or 1 | The description of the event. The value of this element is in text format. |