Configuring System Cleanup Settings

SelectSystem Configuration>System Cleanup>Configuration.

On theConfigurationtab of the System Cleanup page, you can adjust cleanup settings in the following ways:

  • Changing the frequency of system cleanup tasks.
  • Configuring Default Cleanup and Aggressive Cleanup events.

变化的频率of System Cleanup Tasks

By default, all maintenance tasks on theTasksandCompleted Jobstabs run once per day. To change this frequency:

  1. Under Normal Conditions, update theTask Intervalfields.
  2. ClickSave Settings.

Configuring Default Cleanup and Aggressive Cleanup Events

When the system's free disk space reaches specified minimum levels,FME Flowexecutes the following types of cleanup events:

  • Default Cleanup: All enabled cleanup tasks on the Tasks and Completed Jobs tabs execute, regardless of theTask Intervalsetting.
  • 积极的清理: All enabled cleanup tasks on the Tasks and Completed Jobs tabs execute, disregarding theRemove Files/Completed Jobs Older Thansetting. In other words, all files specified by each cleanup task are removed, regardless of their age.

To configure whenFME Flowundertakes a Default Cleanup or Aggressive Cleanup event:

  1. Configure how often you wantFME Flowto check free disk space for triggering a cleanup. By default,FME Flowchecks every 5 minutes. To change this frequency, under Low Disk Conditions, update theWatch Intervalfields. Alternatively, to disable checking, specify 0. Setting to 0 effectively turns off Default Cleanup and Aggressive Cleanup events.
  2. Under Default Cleanup and/or Aggressive Cleanup, configure the minimum disk space requirements for allowing cleanup events, as follows:
    • Disk (%): The minimum free disk space size, in percentage.
    • And/Or: If AND, the detected minimumDisk (%)ANDDisk Space (GB)must both be less than the specified values to allow a cleanup event. If OR, either the detected minimumDisk (%)ORDisk Space (GB)must be less than the specified values to allow a cleanup event.
    • Disk Space (GB): The minimum free disk space size, in gigabytes.
    • Topic to Notify: TheNotification Servicetopic to receive messages about cleanup events. Although this field is optional, there is no way to receive messages when cleanup events occur, unless you specify a topic, and then configure anAutomationsworkflow to receive the message. Most likely, you will configure aEmailexternal action; however, protocols for otherAutomations External Actionsare available.
    • Select from an existing topic, or clickto create and use a new topic.

      For the JSON template of the notification, seeNotification Schema(below).

  3. ClickSave Settings.

Notification Schema

IfTopic to Notifyis specified under "Default Cleanup" or "Aggressive Cleanup", a notification is delivered to the specified topic containing the following JSON-formatted message:

{

"msg": "<default_or_aggressive_level_message>",

"detectedFreeGB": "<free_disk_space_in_gigabytes_detected>",

"detectedFreePCT": <free_disk_space_percentage_detected>",

"minFreeGB": <minimum_free_disk_space_in_gigabyte_default_or_aggressive_criteria>",

"minFreePCT": <minimum_free_disk_space_percentage_default_or_aggressive_criteria>",

"drive": <Source_drive_path_checked>",

}