]> ruin.nu Git - ndwebbie.git/blobdiff - scripts/fetchdumps.pl
fixed jgp parser
[ndwebbie.git] / scripts / fetchdumps.pl
index 65942b76951038003058f3f7f8e9bb892259b374..a01b58e3ca3e71893cd08ce8bd3b1268136faf16 100755 (executable)
@@ -50,8 +50,10 @@ for my $type ("planet","alliance","galaxy"){
        $select->finish;
 }
 
-if ($updated > 36){
-       `/var/www/ndawn/scripts/parsedumps.pl $updated`;
+if ($updated){
+       `/var/www/ndawn/scripts/parsealliances.pl $updated`;
+       `/var/www/ndawn/scripts/parseplanets.pl $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);
        $dbh->do(q{VACUUM ANALYZE});