X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=scripts%2Ffetchdumps.pl;h=2579f38532688463e9b3a7a4ad07f0c6da32f7eb;hb=e9cf9e399d08b8c5e01ba3cd1359dee1153ce2e1;hp=a01b58e3ca3e71893cd08ce8bd3b1268136faf16;hpb=35f9a1e8b0edc2cc47dd46b9afc77e48cc3be86c;p=ndwebbie.git diff --git a/scripts/fetchdumps.pl b/scripts/fetchdumps.pl index a01b58e..2579f38 100755 --- a/scripts/fetchdumps.pl +++ b/scripts/fetchdumps.pl @@ -27,7 +27,7 @@ use DBD::Pg qw(:pg_types); use LWP::Simple; -use lib qw{/var/www/ndawn/}; +use lib qw{/var/www/ndawn/lib/}; use ND::DB; our $dbh = ND::DB::DB(); @@ -56,6 +56,7 @@ if ($updated){ `/var/www/ndawn/scripts/parsegalaxies.pl $updated`; `/var/www/ndawn/scripts/ndrank.pl`; $dbh->do(q{UPDATE misc SET value = ? WHERE id = 'TICK'}, undef, $updated); + local $dbh->{Warn} = 0; $dbh->do(q{VACUUM ANALYZE}); }