Activar trashcan cleaner en alfresco 5.2

cancel
Showing results for 
Search instead for 
Did you mean: 
MrNico
Customer

Activar trashcan cleaner en alfresco 5.2

Jump to solution

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?

1 Solution

Accepted Solutions
angelborroy
Alfresco Employee
3 Replies
angelborroy
Alfresco Employee

Re: Activar trashcan cleaner en alfresco 5.2

Jump to solution
MrNico
Customer

Re: Activar trashcan cleaner en alfresco 5.2

Jump to solution

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

 

 

MrNico
Customer

Re: Activar trashcan cleaner en alfresco 5.2

Jump to solution

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