Configuring the FileSystem Cleaner task
The Filesystem Cleaner task cleans old files according to the specified settings.
- Navigate to Administration > ETL & System Tasks > System tasks.
- Select a system task name with the Type as FileSystem Cleaner.
- In the Run configurations table, click
to access the Edit run configuration page.
- In the General configuration tab, you can edit the general settings such as name, deploy status, and description.
In the Execution configuration tab, specify the following details:
Field
Description
Directory name
A semicolon separated list of directory names to be cleaned, for example weblog;schedulerlog;routput;etloutput;etllog;plots.
Directory aging
Default aging for all the directories. It specifies how many days files (and directories) are kept in the directory. Files (and directories) older than the directory aging setting will be removed.
For each entry included in the directory name property, the following configuration parameters are available:
Directory path
Complete path of the directory. For example _${BASE_DIR}/etl/log_.
Aging
The aging setting for the directory specified as number of days. For example, 10. If no value is specified, the global directory aging value will be used.
Matching pattern
Pattern used to select which files have to be cleaned. For example \ conn\. indicates all files whose name starts with conn.
Complement matching pattern
If set to true, only files and directories that do not match the pattern will be deleted.
Recurse into subdirs
If set to true, all sub-directories will also be scanned.
Delete also matched directories
If set to true, directories will also be deleted. Otherwise, only files will be deleted.