Tags:
create new tag
, view all tags

Question

I am looking on ways that I can automatically clean up the Trash Web. What I would like to do is after a document has been in Trash for say a number of days it is automatically removed. Since we have implemented TWiki there are a number of stale documents taking up space that we would like to get rid of. Also we would like to have this process in place such that if a secure document is deleted we can remove it from Trash and not have it laying around. I know I could probably just go and delete the RCS files at the file system level but would that effect any META information in other documents?

Environment

TWiki version: TWikiRelease04x01x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: CentOS 4.5
Web server: Apache 2.2
Perl version: Perl 5.8
Client OS:  
Web Browser:  
Categories:  

-- ToddBeauchemin - 13 Nov 2007

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

You could set up a cron script to delete the whole Trash web periodically; see HowToEmptyTrash for more information. This approach of course lacks the sophistication to keep the content for a given number of days before deleting it.

-- MartinKaufmann - 14 Nov 2007

This is one area that can be improved. Feel free to file an enhancement request.

-- PeterThoeny - 01 Jan 2008

 
Change status to:
Topic revision: r3 - 2008-01-01 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.