I had edited the configuration file of Talend Administration Server and put the below parameters:
###############################################################
# Temporary data cleaning parameters
###############################################################
# Time in seconds between each cleaning action, set with 0 to disable all cleanings
scheduler.conf.cleaning.frequencyCleaningAction=600
# Time in seconds before cleaning executions logs from the current date,7 days=7*24*60*60=604800, set with 0 to disable delete action with this method
scheduler.conf.cleaning.maxDurationBeforeCleaningOldExecutionsLogs=604800
# Time in seconds before cleaning archives jobs from the current date, 7 days=7*24*60*60=604800,set with 0 to disable delete action with this method
scheduler.conf.cleaning.maxDurationBeforeCleaningOldJobs=604800
However, the parameters are disappearing from the configuration file when I restart tomcat. I had also tried this by stopping TAC and then restarting TAC, but the same issue.
Can you please let me know if I am missing some step or the way I restart tomcat is wrong.
I am restarting tomcat by executing the startup.sh script in bin folder in tomcat installation path.