Page tree

Skip to end of metadata
Go to start of metadata

The Filesystem Cleaner task cleans old files according to the specified settings.

Example of Filesystem Cleaner task

Execution configuration

Navigate to Administration > ETL & SYSTEM TASKS > System tasks and in the working area on the right, click the appropriate name (with the Type as FileSystem Cleaner) available in the System tasks table. In the Run configurations table, click Edit to access the advanced configuration page.  In the General configuration tab, in addition to the general settings such as name, environment and description, you can edit the following properties:

  • Directory name: A semicolon separated list of directory names to be cleaned, for example weblog;schedulerlog;routput;etloutput;etllog;plots.


    You can use aliases for directory names.

  • 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, also all sub-directories will be scanned.
  • Delete also matched directories: If set to true, also directories will be deleted (if false, only files).

Filesystem Cleaner task - Execution configuration