Hello,
I'm trying to configure trashcan-cleaner to wipe documents older than 1 day in ACS 7.1 Community Edition. But cannot get it to work.
# cron schedule for the Trashcan Cleaner job trashcan-cleaner.cron=0 0/30 * * * ? # the period for which trashcan items are kept (in java.time.Duration format) # default is 28 days trashcan-cleaner.keepPeriod=P1D
# how many trashcan items to delete per job run trashcan-cleaner.deleteBatchCount=1000 # move orphans to deleted contentstore after 1 day (default 14 days) system.content.orphanProtectDays=1 # purge content instead of moving to deleted contentstore system.content.eagerOrphanCleanup=true
And I've enabled debug logging and there I can see the cron is starting every 30 minutes as wanted.
2022-05-25 10:00:00,004 INFO [alfresco.trashcan.TrashcanCleaner] [DefaultScheduler_Worker-7] Running TrashcanCleaner 2022-05-25 10:00:00,031 INFO [alfresco.trashcan.TrashcanCleaner] [DefaultScheduler_Worker-7] Number of nodes to delete: 0 2022-05-25 10:00:00,032 INFO [alfresco.trashcan.TrashcanCleaner] [DefaultScheduler_Worker-7] Number of deleted nodes: 0 2022-05-25 10:00:00,032 INFO [alfresco.trashcan.TrashcanCleaner] [DefaultScheduler_Worker-7] TrashcanCleaner finished 2022-05-25 10:30:00,004 INFO [alfresco.trashcan.TrashcanCleaner] [DefaultScheduler_Worker-10] Running TrashcanCleaner 2022-05-25 10:30:00,028 INFO [alfresco.trashcan.TrashcanCleaner] [DefaultScheduler_Worker-10] Number of nodes to delete: 0 2022-05-25 10:30:00,029 INFO [alfresco.trashcan.TrashcanCleaner] [DefaultScheduler_Worker-10] Number of deleted nodes: 0 2022-05-25 10:30:00,029 INFO [alfresco.trashcan.TrashcanCleaner] [DefaultScheduler_Worker-10] TrashcanCleaner finished
But the files are still in the trash can.
No hints? The files are still in the trash can one week later.
Anyone got this working in ACS 7.1?
Did you find a solution to this problem ?
Hello,
Sadly, no.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.