SOURCES: exim.cron.db - handle all databases at one time

arekm arekm at pld-linux.org
Thu Sep 21 08:42:06 CEST 2006


Author: arekm                        Date: Thu Sep 21 06:42:06 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- handle all databases at one time

---- Files affected:
SOURCES:
   exim.cron.db (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SOURCES/exim.cron.db
diff -u SOURCES/exim.cron.db:1.6 SOURCES/exim.cron.db:1.7
--- SOURCES/exim.cron.db:1.6	Sun Oct 26 02:11:37 2003
+++ SOURCES/exim.cron.db	Thu Sep 21 08:42:00 2006
@@ -1,4 +1,5 @@
 #!/bin/sh
 cd /
-/usr/bin/exim_tidydb -t 28d /var/spool/exim retry
-/usr/bin/exim_tidydb -t 28d /var/spool/exim wait-remote_smtp
+/usr/bin/find /var/spool/exim/db -maxdepth 1 -name '*.lockfile' -or -type f -printf '%f\0' | xargs -0r -n 1 /usr/bin/exim_tidydb /var/spool/exim > /dev/null
+
+exit 0
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/exim.cron.db?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list