Commit 0ac7d62dee74f99b553419fc3510946e408f7461

Authored by Steven Glover
1 parent 801a6318a4
Exists in master

REPO-1547 "Disable the Trashcan Cleaner by default"

... ... @@ -2,7 +2,7 @@
2 2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3 3 <modelVersion>4.0.0</modelVersion>
4 4 <artifactId>alfresco-trashcan-cleaner</artifactId>
5   - <version>2.1-SNAPSHOT</version>
  5 + <version>2.2-SNAPSHOT</version>
6 6 <name>alfresco-trashcan-cleaner project</name>
7 7 <packaging>jar</packaging>
8 8 <description>The Alfresco Trash Can Cleaner (Alfresco Module)</description>
... ...
src/main/config/alfresco/module/alfresco-trashcan-cleaner/alfresco-global.properties
1   -# cron schedule for the Trashcan Cleaner job. Run at At 2:30 am every day.
2   -# to disable, set it to something like trashcan-cleaner.cron=* * * * * ? 2099
3   -trashcan-cleaner.cron=0 30 2 * * ?
  1 +# Cron schedule for the Trashcan Cleaner job. Default is to never run.
  2 +trashcan-cleaner.cron=* * * * * ? 2099
4 3  
5   -# the period for which trashcan items are kept (in java.time.Duration format)
6   -# default is 28 days
  4 +# the period for which trashcan items are kept (in java.time.Duration format).
  5 +# Default is 28 days
7 6 trashcan-cleaner.keepPeriod=P28D
8 7  
9 8 # how many trashcan items to delete per job run
... ...