Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 

A few 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 , 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 the CleanupRules.xml file using WordPada text editor:



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

    1. This 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"/>.

      In the line of text above,

      , 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. To For example, to save the debug files for 3 days, manually you would change the line to read: that line to <FileAge NumDays = "3" Comparator = "GE"/>.

      Info

      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 in Notepad and close the file.
  6. Restart the Windows Private Agent or the Linux Private Agent.
Panel
borderColor#65379B
titleColor#FFFFFF
titleBGColor#65379B
titleOn This Page
Table of Content Zone

Table of Contents
maxLevel3
minLevel2

Panel
borderColor#FF7C4C
titleColor#FFFFFF
titleBGColor#FF7C4C
titleRelated Articles
Panel
borderColor#00B886
titleColor#FFFFFF
titleBGColor#00B886
titleRelated Topics

HideElements
metastrue

Last updated:  lastmodifieddate