fix VACUUM to run on correct db
authorAndrew Bartlett <abartlet@samba.org>
Fri, 17 Feb 2012 10:25:59 +0000 (21:25 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 17 Feb 2012 10:25:59 +0000 (21:25 +1100)
daily.sh

index 8bc5304..9441b38 100755 (executable)
--- a/daily.sh
+++ b/daily.sh
@@ -6,7 +6,7 @@ set -x
 (
 date
 set -x
-sqlite3 `dirname $0`/hostdb.sqlite 'VACUUM;'
+sqlite3 `dirname $0`/db/hostdb.sqlite 'VACUUM;'
 cd `dirname $0` && ./mail-dead-hosts.py
 
 echo "deleting old file that are not used any more"