Skip to end of metadata
Go to start of metadata

Introduction

The Jitterbit File Cleanup Service runs on the server where a Private Agent is installed and running. The File Cleanup Service deletes log files, debug files, temporary files, transformation data, and success and failure files on the server based on the rules in the CleanupRules.xml file.

Making changes to the File Cleanup Service rules will affect the disk space available on the server where the Private Agent is running and will need to be carefully considered. If you are experiencing disk space issues and want to reduce the footprint of files, we recommend changing all of the File Cleanup Service rules to save files only for 1 day.

Editing CleanupRules.xml 

Though some of the File Cleanup Service rules can be updated manually in the Jitterbit.conf file within the [FileCleanup] and [ResultFiles] sections (see Editing the Configuration File), all of the File Cleanup Service rules can be updated manually by following these steps: 

  1. Navigate to where the Private Agent is installed on the server. These are the default locations:
    1. Windows: C:\Program Files (x86)\Jitterbit Agent or C:\Program Files\Jitterbit Agent
    2. Linux: /opt/jitterbit/
  2. Open the CleanupRules.xml file using a text editor:



  3. Scroll down to the specific directory path you need to edit. For example, as shown in the image above, debug log files are located in DataInterchange/Temp/Debug</DirectoryPath>.

    1. The file age line is located below each directory path in the CleanupRules.xml file, and is in the form <FileAge NumDays = "x" Comparator = "GE"/>, where "x" is the maximum number of days to save the specific files located in the directory before deleting them.

    2. The default values range from 1 to 14 (representing 1 to 14 days).

    3. In the example above, debug files are saved for 1 day and then deleted. For example, to save the debug files for 3 days, you would change that line to <FileAge NumDays = "3" Comparator = "GE"/>.

      NOTE: If you are experiencing disk space issues, we recommend changing all of the rules to save files only for 1 day.

  4. Scroll down to the bottom of the file for additional instructions to change the rules for transferred files, transformation data, and success and failure files:

  5. When all changes are completed, save the edited CleanupRules.xml file and close the file.
  6. Restart the Windows Private Agent or the Linux Private Agent.
On This Page

Related Topics

Last updated:  Jan 28, 2020


  • No labels