Configuring job cleanup timing on sensors
To prevent the progressive loss of disc space as job files accumulate, OpenText ScanCentral SAST sensors automatically clean up internal job files (packages received from the Controller, FPR files, logs, and so on), and OpenText SAST build files related to cleaned OpenText ScanCentral SAST jobs. Although you cannot turn off this feature, you can configure its timing.
To configure the timing of job file cleanup on a sensor:
-
Open the
<sast_install_dir>/Core/config/worker.propertiesfile in a text editor.The<sast_install_dir>is only valid if the user installs the OpenText ScanCentral SAST client in the same directory as the OpenText SAST. Otherwise, thisworker.propertiesfile is under the OpenText ScanCentral SAST client installation directory. -
Configure the following properties based on your scheduling needs.
Property
Description Default value
worker_cleanup_ageAge (in hours) job files must be before they are removed from the sensor working directory
168
(one week)worker_cleanup_intervalFrequency (in hours) with which the cleanup process runs
1 -
Save and close your
worker.propertiesfile. -
Restart the sensor.