]> ruin.nu Git - ndwebbie.git/blobdiff - scripts/fetchdumps.pl
Use local::lib properly
[ndwebbie.git] / scripts / fetchdumps.pl
index 1bb0736fb3093e04bbd51069f203666a43df77ed..b64200f355318487bef1e9fc69a4ba9469fd7cf4 100755 (executable)
@@ -22,6 +22,7 @@ q{
 
 use strict;
 use warnings;
+use local::lib;
 use DBI;
 use DBD::Pg qw(:pg_types);
 
@@ -58,9 +59,8 @@ if ($updated){
        `perl $FindBin::Bin/parsegalaxies.pl $updated`;
        `perl $FindBin::Bin/ndrank.pl`;
        $dbh->do(q{UPDATE misc SET value = ? WHERE id = 'TICK'}, undef, $updated);
-       system 'killall','-USR1', 'irssi';
+       system 'killall','-USR1', 'ndbot.pl';
        local $dbh->{Warn} = 0;
-       $dbh->do(q{VACUUM ANALYZE});
 }