Skip to content
Snippets Groups Projects
Commit 1d0ab0b3 authored by Gerhard Gonter's avatar Gerhard Gonter :speech_balloon:
Browse files

add geonames processor

parent 32b345a7
No related branches found
No related tags found
No related merge requests found
...@@ -150,6 +150,12 @@ sub fetch_and_convert ...@@ -150,6 +150,12 @@ sub fetch_and_convert
print "cmd3: [", join (' ', @cmd3), "]\n"; print "cmd3: [", join (' ', @cmd3), "]\n";
system (@cmd3); system (@cmd3);
notify ('wdq0: finished wdq3, starting geonames');
my $dir= sprintf("data/%da", $date);
my @cmd4= ('./geonames.pl', $dir);
print "cmd3: [", join (' ', @cmd4), "]\n";
system (@cmd4);
# TODO: add symlink # TODO: add symlink
system (qw(rm data/latest)); system (qw(rm data/latest));
system ('ln', '-s', join ('', $date, $seq), 'data/latest'); system ('ln', '-s', join ('', $date, $seq), 'data/latest');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment