#
# Copyright (C) 2000 - 2024 Silverpeas
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# As a special exception to the terms and conditions of version 3.0 of
# the GPL, you may redistribute this Program in connection with Free/Libre
# Open Source Software ("FLOSS") applications as described in Silverpeas's
# FLOSS exception.  You should have received a copy of the text describing
# the FLOSS exception, and it is also available here:
# "http://www.silverpeas.org/docs/core/legal/floss_exception.html"
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program.  If not, see <https://www.gnu.org/licenses/>.
#

# By default, the temporary data deletion task is launched every half an hour.
# The syntax is identical at the unix cron.
# The task is deactivated in the case no value is defined.
temporaryData.cleaner.job.cron = 0 7 * * *

# Age of temporary files that don't have to be deleted (in hours).
# By default : 2 days (24h x 2j)
# zero value or no value or negative value: the age isn't taken into account; the files will be
# deleted at each launch of the deletion task.
temporaryData.cleaner.job.file.age.hours = 48

# Age of temporary files that don't have to be deleted at start of Silverpeas platform (in hours).
# By default: immediate
# zero value: all files are deleted immediately
# no value or negative value: no deletion at Silverpeas starting.
temporaryData.cleaner.job.start.file.age.hours = 0