Support

Admin Tools

#11004 I would like to use cron to update the geoIP Db

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Wednesday, 08 February 2012 06:15 CST

user52972

Description of my issue:

I like the button to upgrade geoIP.dat in the latest admin tools release. Is there a way to use cron to update it automatically every month?

-jay

nicholas
Akeeba Staff
Manager
I don't have a CRON job for this task, but it shouldn't be too hard to create one, even all by yourself. All you need to do is to download the compressed (.gz) file from MaxMind, extract it (using gunzip) and place it to the assets directory of the component. The information you need regarding where to download the file from and where to put it are in the documentation. I can't provide a script for you, as it depends on the server environment (Linux, Windows, ... and whether you have wget or curl available) and the absolute path of your site.

If you want some help with writing that script, give me your site's absolute path and I'll make one for you. You'll have to test that it works on your server, though.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!