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
--
ToddBeauchemin - 13 Nov 2007
Answer
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