Understanding the Talend JobServer clean-up cycle
The Talend JobServer cleans up Job artifacts on a schedule, based on data cleaning parameters. You can customize the Talend Job Server clean-up schedule by changing the parameters in the TalendJobserver.properties file, listed under Temporary data cleaning parameters. Configuring these values is optional.
General clean-up frequency
The general clean-up schedule is defined by the FREQUENCY_CLEAN_ACTION parameter. You can disable the general clean-up by setting this parameter to 0.
Job repository and archive clean-up
- The Job is not running.
- Either the MAX_DURATION_BEFORE_CLEANING_OLD_JOBS or MAX_OLD_JOBS parameter is met.
Job execution log clean-up
Job logs are cleaned up in the next cycle when the following conditions are met:
- Either the MAX_DURATION_BEFORE_CLEANING_OLD_EXECUTIONS_LOGS or MAX_OLD_EXECUTIONS_LOGS parameter is met.
- The Job execution is released. A Job is released after 50 Job executions. You can change the Job release frequency by changing the MIN_NUMBER_JOB_EXECUTIONS_BEFORE_RELEASE parameter.
A log without errors is released if the elapsed time since the start of the log is greater than the time defined in the MAX_DURATION_BEFORE_JOB_EXECUTION_RELEASE_NORMAL_CASE and MAX_DURATION_BEFORE_JOB_EXECUTION_RELEASE_ABNORMAL_CASE parameters.