savannah-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Savannah-cvs] administration/infra/bin log-accum-cleaner.sh


From: Elfyn McBratney
Subject: [Savannah-cvs] administration/infra/bin log-accum-cleaner.sh
Date: Sat, 04 Sep 2004 10:32:27 -0400

CVSROOT:        /cvsroot/administration
Module name:    administration
Branch:         
Changes by:     Elfyn McBratney <address@hidden>        04/09/04 14:27:40

Modified files:
        infra/bin      : log-accum-cleaner.sh 

Log message:
        drop threshhold to 30 minutes.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/administration/administration/infra/bin/log-accum-cleaner.sh.diff?tr1=1.5&tr2=1.6&r1=text&r2=text

Patches:
Index: administration/infra/bin/log-accum-cleaner.sh
diff -u administration/infra/bin/log-accum-cleaner.sh:1.5 
administration/infra/bin/log-accum-cleaner.sh:1.6
--- administration/infra/bin/log-accum-cleaner.sh:1.5   Sat Sep  4 14:25:59 2004
+++ administration/infra/bin/log-accum-cleaner.sh       Sat Sep  4 14:27:40 2004
@@ -3,7 +3,7 @@
 #
 # Script to clean the chroot's /var/run/log_accum dirs.
 #
-# $Id: log-accum-cleaner.sh,v 1.5 2004/09/04 14:25:59 beu Exp $
+# $Id: log-accum-cleaner.sh,v 1.6 2004/09/04 14:27:40 beu Exp $
 
 # The basename of this script
 prog=`basename $0`
@@ -24,7 +24,7 @@
     test ! -d $projdir/var/run/log_accum && return 0
 
     # Remove cruft
-    find $projdir/var/run/log_accum -type f -atime +1 -print |xargs rm -f
+    find $projdir/var/run/log_accum -type f -amin +30 -print |xargs rm -f
 }
 
 # If we have an arguments we only clean up in those directories




reply via email to

[Prev in Thread] Current Thread [Next in Thread]