- 05 Feb 2024
- 1 Minute to read
- Print
Enable file cleaner
- Updated on 05 Feb 2024
- 1 Minute to read
- Print
The continuous operation of the server accumulates usage data. Grassfish provides a file cleaner to delete this data and avoid filling up the server file system.
To enable the file cleaner, perform the following steps:
Navigate to the master.config file.
Under appSettings, look for DataGateway.
Set the value of FileCleaner:Enabled to true.
Set the value of FileCleaner:IntervalSeconds to the desired number of seconds.
Set the value of FileCleaner:ConfigFile to the file path of the filecleaner.xml file.
Save your changes and close the file.
<appSettings type="DataGateway">
<add key="FileCleaner:Enabled" value="true"/>
<add key="FileCleaner:IntervalSeconds" value="120"/>
<add key="FileCleaner:ConfigFile" value="\\grassfish.local\GFServers\configs\filecleaner.xml"/>
</appSettings>
Note
If you upgrade from IXM Platform version 11.14 or earlier, you must migrate the configuration settings from DataSpots to DataGateway and update the keys and values.