- Documentation
- Configuration Property Overview
- Advanced Configuration
- wrapper.timer.<n>.<x> Properties
wrapper.timer.<n>.<x> |
||||||||||||||||||
WARNINGDO NOT modify any of these parameters unless you have read this property description. Incorrect settings can cause the Wrapper to fail to operate as expected. The timer properties make it possible to schedule JVM restarts, shutdowns, or thread dumps at specific times or intervals in a cron-job like fashion. This can be useful in cases where the user application leaks memory or has other requirements which require periodic restarts. Basic Setting: The following example will restart the JVM every day at exactly 4am.
Each timer declaration consists of two properties. The wrapper.timer.<n>.action and wrapper.timer.<n>.interval properties. The "<n>" component of the property name is an integer number counting up from "1". By default, there can be no missing numbers. The wrapper.ignore_sequence_gaps property can optionally be set to allow gaps in the sequence. More than one actions: Starting with Wrapper version 3.5.0, it is possible to specify more than one actions by separating them with a space or comma. When more than one action is specified, they will be executed in rapid succession in the order specified. The following example will perform a thread dump and then restart the JVM every day at 4am.
|















