Configuring System Cleanup Settings
Select System Cleanup > Configuration.
On the Configuration tab 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.
Changing the Frequency of System Cleanup Tasks
- Under Normal Conditions, update the Task Interval fields.
- Click Save Settings.
Configuring Default Cleanup and Aggressive Cleanup Events
When the system's free disk space reaches specified minimum levels, FME Server executes the following types of cleanup events:
- Default Cleanup: All enabled cleanup tasks on the Tasks and Completed Jobs tabs execute, regardless of the Task Interval setting.
- Aggressive Cleanup: All enabled cleanup tasks on the Tasks and Completed Jobs tabs execute, disregarding the Remove Files/Completed Jobs Older Than setting. In other words, all files specified by each cleanup task are removed, regardless of their age.
To configure when FME Server undertakes a Default Cleanup or Aggressive Cleanup event:
- Configure how often you want FME Server to check free disk space for triggering a cleanup. By default, FME Server checks every 5 minutes. To change this frequency, under Low Disk Conditions, update the Watch Interval fields. Alternatively, to disable checking, specify 0. Setting to 0 effectively turns off Default Cleanup and Aggressive Cleanup events.
- 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 minimum Disk (%) AND Disk Space (GB) must both be less than the specified values to allow a cleanup event. If OR, either the detected minimum Disk (%) OR Disk 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: The Notification Service topic 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 an Automations workflow to receive the message. Most likely, you will configure a Send an Email external action; however, protocols for other Automations External Actions are available.
Select from an existing topic, or click to create and use a new topic.
For the JSON template of the notification, see Notification Schema (below).
If Topic to Notify is specified under "Default Cleanup" or "Aggressive Cleanup", a notification is delivered to the specified topic containing the following JSON-formatted message: