How to reduce the size of the generatedJobs and executionLogs folders

Question

How do you reduce the size and clean up the generatedJobs and executionLogs folders without restarting TAC?

 

Answer

In TAC, navigate to the Settings > Configuration > Job Conductor page and change the following parameters:

 

  • Number of execution logs: Enter how many execution log files you want to store for each task in the executionLogs/task_ID folder. Note that each task folder also contains resuming log files. Therefore, the file count in each task folder is twice the value set in this parameter. This value prevails over the value of the Storage period for log files field.

    Setting this value to 0 disables cleanup based on the number.

     

  • Storage period for log files: Enter how long the execution log files of all tasks will be kept, in days, before they are removed.

    Setting this value to 0 disables cleanup based on the age/period.

     

  • Maximum number of generated jobs: Enter how many generated Job archives (ZIP files) you want to store in the dedicated folder in generatedJobs/task_ID. This value prevails over the value of the Storage period for generated jobs field.

    Setting this value to 0 disables cleanup based on the number.

     

  • Storage period for generated jobs: Enter how long the generated Job archives will be kept, in days, before they are removed.

    Setting this value to 0 disables cleanup based on the age/period.

Version history
Revision #:
4 of 4
Last update:
‎08-20-2019 01:35 PM
Updated by:
 
Contributors