mirror of https://github.com/BOINC/boinc.git
Fix to script that cleans 'user-visible' scheduler logs, to prevent
it from inadvertently leaving old files hanging around. svn path=/trunk/boinc/; revision=9067
This commit is contained in:
parent
646c9a5e81
commit
c5ed94a649
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue