This is a 5.4-only class. To use it, update
systemListeners.xml by adding the following section:
<bean id="repositoryCleanerSystemListener"
class="org.pentaho.platform.plugin.services.repository.RepositoryCleanerSystemListener">
<property name="gcEnabled" value="true"/>
<property name="execute" value="now"/>
</bean>
gcEnabled is a non-mandatory parameter,
true by default. Use it to turn off the listener without
removing its description from the XML-file
execute is a parameter, that describes a time pattern of GC procedure. Supported values are:
- now - for one time execution
- weekly - for every Monday execution
- monthly - for every first day of month execution
Note, that periodic executions will be planned to start at 0:00. If an execution was not started at that time,
e.g. the server was shut down, then it will be started as soon as the scheduler is restored.