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:

  1. Open the <sast_install_dir>/Core/config/worker.properties file 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, this worker.properties file is under the OpenText ScanCentral SAST client installation directory.
  2. Configure the following properties based on your scheduling needs.

    Property

    Description

    Default value

    worker_cleanup_age

    Age (in hours) job files must be before they are removed from the sensor working directory

    168
    (one week)

    worker_cleanup_interval

    Frequency (in hours) with which the cleanup process runs

    1
  3. Save and close your worker.properties file.

  4. Restart the sensor.