Koozali.org: home of the SME Server
Obsolete Releases => SME 8.x Contribs => Topic started by: engdev on May 15, 2013, 10:33:53 AM
-
I followed the http://wiki.contribs.org/RecycleBin (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.
-
I followed the http://wiki.contribs.org/RecycleBin (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.
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 }}
-
Ok, I have taken courage from your suggestion and requested access to the wiki.
-
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
-
ok: http://bugs.contribs.org/show_bug.cgi?id=7596
-
Ok, I have taken courage from your suggestion and requested access to the wiki.
a big thank and feel free to find any other things to modify or enhance.
Merci infiniment