Obsolete Releases > SME 8.x Contribs
Recycle bin cleaning script
engdev:
I followed the http://wiki.contribs.org/RecycleBin howto and installed the automatic cleaning script as per the instructions. However, as written, the script doesn't remove any files older than 30 days. It only works on our servers if you set the -ctime parameter to 1 or 2, I checked this on SME 7.6 and 8.0. For some reason the last changed file attribute isn't appropriate. So I changed the '-ctime' to '-mtime' and the script now functions as expected. I don't know if this is a quirk of our servers but thought I would post in case it helps anyone else as it's a great feature.
stephdl:
--- Quote from: engdev on May 15, 2013, 10:33:53 AM ---I followed the http://wiki.contribs.org/RecycleBin howto and installed the automatic cleaning script as per the instructions. However, as written, the script doesn't remove any files older than 30 days. It only works on our servers if you set the -ctime parameter to 1 or 2, I checked this on SME 7.6 and 8.0. For some reason the last changed file attribute isn't appropriate. So I changed the '-ctime' to '-mtime' and the script now functions as expected. I don't know if this is a quirk of our servers but thought I would post in case it helps anyone else as it's a great feature.
--- End quote ---
can you write this in the wiki page adding a tipbox with your advice to inform other people. The wiki is a better place than the forum... Courage!
{{Tip box | your advice you want to give }}
engdev:
Ok, I have taken courage from your suggestion and requested access to the wiki.
janet:
engdev
With that courage please also raise a bug report on bugzilla so the issue can be investigated & fixed if there truly is a bug. Thank you
engdev:
ok: http://bugs.contribs.org/show_bug.cgi?id=7596
Navigation
[0] Message Index
[#] Next page
Go to full version