cancel
Showing results for 
Search instead for 
Did you mean: 

Emptying your trashcan : By default only 1000 items are deleted at a time.

khampol
Confirmed Champ
Confirmed Champ

My Question is : is it possible to change this number "1000" ? Where I can do that please ?

2 ACCEPTED ANSWERS

mehe
Elite Collaborator
Elite Collaborator

If you are using Alfresco version  5.2 you could use Configuring the Trashcan Cleaner | Alfresco Documentation 

View answer in original post

khampol
Confirmed Champ
Confirmed Champ

Ok so I do :

nano /opt/alfresco-community/tomcat/shared/classes/alfresco-global.properties

then add this at the bottom :

### Trash can cleaner ###

trashcan-cleaner.cron=0 30 * * * ?

trashcan-cleaner.keepPeriod=P1D

trashcan-cleaner.deleteBatchCount=1000

Restart Alfresco server.

Lets wait and see !

Thx again.

View answer in original post

10 REPLIES 10

mehe
Elite Collaborator
Elite Collaborator

If you are using Alfresco version  5.2 you could use Configuring the Trashcan Cleaner | Alfresco Documentation 

khampol
Confirmed Champ
Confirmed Champ

Hi Martin,

How can I check the version ? I do not see it in my footer. I see : 

 

© 2005-2016 Alfresco Software Inc. All rights reserved. Simple + Smart

 

U can tell which vers. is ?

mehe
Elite Collaborator
Elite Collaborator

Use your Alfresco server url .../alfresco 

khampol
Confirmed Champ
Confirmed Champ

??? Explain more please....

mehe
Elite Collaborator
Elite Collaborator

Example:

if you call your Alfresco Webapp with http://myserver/share 

use http://myserver/alfresco 

theb you will see a landing page with the Alfresco Version and some links 

khampol
Confirmed Champ
Confirmed Champ

Ok i got this :

Community - 5.2.0 (r133656-b12)

So I should try 
Configuring the Trashcan Cleaner | Alfresco Documentation 
http://docs.alfresco.com/

Thx a lot for your assistance Martin. I will dig that.

khampol
Confirmed Champ
Confirmed Champ

Ok so I do :

nano /opt/alfresco-community/tomcat/shared/classes/alfresco-global.properties

then add this at the bottom :

### Trash can cleaner ###

trashcan-cleaner.cron=0 30 * * * ?

trashcan-cleaner.keepPeriod=P1D

trashcan-cleaner.deleteBatchCount=1000

Restart Alfresco server.

Lets wait and see !

Thx again.

mehe
Elite Collaborator
Elite Collaborator

This should do the Job - Good work

khampol
Confirmed Champ
Confirmed Champ
This should do the Job

It does. 

Have a nice day Smiley Happy

Getting started

Explore our Alfresco products with the links below. Use labels to filter content by product module.