diff --git a/checkin_notes b/checkin_notes index 8b0e7dd65e..3597a07195 100755 --- a/checkin_notes +++ b/checkin_notes @@ -14440,3 +14440,11 @@ Jeff 14 Dec 2005 sched/ file_upload_handler.C Makefile.am + +Bruce 14 Dec 2005 + - Fix to script that cleans 'user-visible' scheduler logs, to prevent + it from inadvertently leaving old files hanging around. + + tools/ + cleanlogs.sh + diff --git a/tools/cleanlogs.sh b/tools/cleanlogs.sh index eacfd7db96..28bbea04da 100755 --- a/tools/cleanlogs.sh +++ b/tools/cleanlogs.sh @@ -13,6 +13,6 @@ # in your project's config.xml file cd ../html/user/sched_logs/ || exit 1 -find . -type d -name "20*" -mtime 7 | xargs rm -rf || exit 2 +find . -type d -name "20*" -mtime +7 | xargs rm -rf || exit 2 echo "`date '+%Y-%m-%d %H:%M:'`" "cleaned scheduler logs" exit 0