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
Solved! Go to Solution.
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.
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.
Thanks a lot!
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.