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

cancel
Showing results for 
Search instead for 
Did you mean: 
khampol
Active Member II

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

Jump to solution

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

2 Solutions

Accepted Solutions
mehe
Senior Member II

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

Jump to solution

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

View solution in original post

khampol
Active Member II

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

Jump to solution

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 solution in original post

10 Replies
mehe
Senior Member II

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

Jump to solution

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

khampol
Active Member II

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

Jump to solution

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 ?

khampol
Active Member II

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

Jump to solution

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
Senior Member II

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

Jump to solution

Use your Alfresco server url .../alfresco 

khampol
Active Member II

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

Jump to solution

??? Explain more please....

mehe
Senior Member II

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

Jump to solution

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
Active Member II

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

Jump to solution

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
Active Member II

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

Jump to solution

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
Senior Member II

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

Jump to solution

This should do the Job - Good work