Skip to content

Mibou/litegeoipupdate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

LiteGeoIP update

Update script for GeoIP GeoLite database.

Installation

To install LiteGeoIP update, a single command necessary :

wget https://raw.github.com/Mibou/litegeoipupdate/master/litegeoipupdate.sh -O /usr/local/bin/litegeoipupdate

You can then edit the GEOIPDIR variables to fit your needs in /usr/local/bin/litegeoipupdate.

Execution

To run the update manualy, you can launch the command /usr/local/bin/litegeoipupdate or directly litegeoipupdate if /usr/local/bin is in your PATH environment variable.

Automatization

To fully automate this process on Linux or Unix, use a crontab file like :

# Top of crontab
[email protected]
MAILFROM="You you <[email protected]>"

0 4 * * 3 root /usr/local/bin/litegeoipupdate &>/dev/null
# End of crontab

This Cron will run the update every wednesday at 4:00 am and send an email to MAILTO if there is any problem.

About

Update script for GeoIP lite

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages