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 8bc5304ec22c4e37c6c435417869de8e64b579ba..9441b383df01328258c2628a3ed2dcdc25957618 100755 (executable)
--- a/daily.sh
+++ b/daily.sh
@@ -6,7 +6,7 @@ set -x
 (
 date
 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"
 cd `dirname $0` && ./mail-dead-hosts.py
 
 echo "deleting old file that are not used any more"