Name Last Update
src Loading commit data...
tomcat Loading commit data...
.gitignore Loading commit data... Loading commit data...
pom.xml Loading commit data...

This library adds a scheduled job that will empty your Alfresco trashcan according to configuration. The following properties can be configured in

# cron schedule for the Trashcan Cleaner job
# to disable, set it to something like trashcan-cleaner.cron=* * * * * ? 2099
trashcan-cleaner.cron=0 30 2 * * ?

# the period for which trashcan items are kept (in java.time.Duration format)
# default is 1 month

# how many trashcan items to delete per job run

In the above configuration the scheduled process will clean all deleted items older than one day to a maximum of 1000 (each execution) each hour at the middle of the hour (30 minutes).

To enable debug logging: