11-30-2017 06:12 AM
Hi guys! I need to change the minimum time that content binaries are kept in the contentStore and the time the Content Store Cleaner job runs. What shoul I do? Where can I find protectDays property? What's the file name and where is it located?
I mean this:
<bean id="contentStoreCleaner" class="org.alfresco.repo.content.cleanup.ContentStoreCleaner" > ... <property name="protectDays" > <value>14</value> </property> <property name="stores" > <list> <ref bean="fileContentStore" /> </list> </property> <property name="listeners" > <list> <ref bean="deletedContentBackupListener" /> </list> </property> </bean>
How to change the schedule for Content Store Cleaner job?
Is there a way to remove files from recycle bin automatically, not manually?
I'm running Alfresco Community - 5.2.0
12-02-2017 03:06 AM
You should include you property system.content.orphanProtectDays in alfresco-global.properties. This will override default value.
Content stores overview | Alfresco Documentation
To delete automatically files from Recycle bin you can configure TrashCan Cleaner in alfresco-global.properties.
Configuring the Trashcan Cleaner | Alfresco Documentation
To delete automatically files from Content Store Delete you can use this addon https://github.com/keensoft/alfresco-deleted-content-store-cleaner or simply use a cron to remove files periodically.
12-02-2017 03:06 AM
You should include you property system.content.orphanProtectDays in alfresco-global.properties. This will override default value.
Content stores overview | Alfresco Documentation
To delete automatically files from Recycle bin you can configure TrashCan Cleaner in alfresco-global.properties.
Configuring the Trashcan Cleaner | Alfresco Documentation
To delete automatically files from Content Store Delete you can use this addon https://github.com/keensoft/alfresco-deleted-content-store-cleaner or simply use a cron to remove files periodically.
12-04-2017 01:51 AM
Thanks a lot!
Explore our Alfresco products with the links below. Use labels to filter content by product module.