Leyendo esta pagina https://github.com/keensoft/alfresco-deleted-content-store-cleaner comenta lo siguiente
"From Alfresco 5.2 (201707 GA) a Trashcan Cleaner job is provided out of the box, although is disabled by default. This job removes documents from trash can periodically."
Tengo esa version instalada, y si reviso, veo que esta la aplicacion "tomcat/webapps/alfresco/WEB-INF/lib/alfresco-trashcan-cleaner-2.2.jar"
¿Como puedo activarla?
Solved! Go to Solution.
https://docs.alfresco.com/5.2/concepts/trashcan-cleaner.html
https://docs.alfresco.com/5.2/concepts/trashcan-cleaner.html
supongo que ya esta activado, al iniciar alfresco en el log aparece
2020-01-24 09:01:32,392 INFO [repo.module.ModuleServiceImpl] [localhost-startStop-1] Starting module 'alfresco-trashcan-cleaner' version 2.2.
Y añadi esta informacion al archivo alfresco-global.properties
trashcan-cleaner.cron=0 30 * * * ?
trashcan-cleaner.keepPeriod=PT1H
trashcan-cleaner.deleteBatchCount=100
log4j.logger.org.alfresco.trashcan=debug
Esperare un momento para ver si sucede algo
Perfecto, ya esta funcionando!
gracias!
2020-01-24 09:30:19,394 DEBUG [alfresco.trashcan.TrashcanCleaner] [DefaultScheduler_Worker-8] Found 21534 nodes on trashcan
2020-01-24 09:30:19,543 DEBUG [alfresco.trashcan.TrashcanCleaner] [DefaultScheduler_Worker-8] Number of nodes to delete: 100
2020-01-24 09:30:21,025 DEBUG [alfresco.trashcan.TrashcanCleaner] [DefaultScheduler_Worker-8] Nodes deleted
2020-01-24 09:30:21,560 DEBUG [alfresco.trashcan.TrashcanCleaner] [DefaultScheduler_Worker-8] TrashcanCleaner finished
Discussions about Alfresco Content Services and Alfresco Process Services in Spanish
Related:
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.