

I have a *cron* job that downloads the MaxMind databases. I don't use the Debian package.rolled my own app. I do remember that it was pretty frustrating. The website is kind of unclear on this and I don't remember what exact steps I took to accomplish this. You have to have an account and a "license key". There's enough here to facilitate adaptation for your own needs.ĭescription I had this problem too. csv files into /tmp/GeoLite2 for processing by later stages of the script (I build an SQLite database from the CSV files). This is the bare bones… It retrieves all the compressed tars of the. The name of my script is /srv/geoip/bin/cron/geoipupdate and it runs at 2am local time every Wednesday (I believe the free databases are updated on Tuesdays). Here's the crontab entry: # update the geoip databases (every Wednesday)Ġ 2 * * 3 nice -n 19 /srv/geoip/bin/cron/geoipupdate I have a cron job that downloads the MaxMind databases. I don't use the Debian package…rolled my own app. I had this problem too… You have to have an account and a "license key".
