X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/8e58a1769ce5e492dd68904dfc81b6e077fc2a3a..e02c731dfbb288c736f2cd09a9b6df0507c59ddd:/add-imp.pl?ds=sidebyside diff --git a/add-imp.pl b/add-imp.pl new file mode 100755 index 0000000..09470c3 --- /dev/null +++ b/add-imp.pl @@ -0,0 +1,12 @@ +#!/usr/bin/perl + +while (<>) { + /(........)$/; + print "Attempting to get $1\n"; + $key = `./onak-db2 get $1`; + open (ONAK, "| ./onak -v add"); + print ONAK $key; + close ONAK; + + sleep 60; +}