[prev in list] [next in list] [prev in thread] [next in thread] 

List:       imp
Subject:    Re: [horde] timezone db download from iana
From:       Arjen de Korte <arjen+horde () de-korte ! org>
Date:       2015-11-24 10:01:11
Message-ID: 20151124110111.Horde.lrJrXjYzJI4CyRSTNEOHbc1 () mail ! de-korte ! org
[Download RAW message or body]

Citeren Jan Schneider <jan@horde.org>:

> Zitat von cheese@nosuchhost.net:
>
>> hi
>>
>> just had some talk with a cowroker and we have both no answer to:
>> *) why does horde by itself download the database from
>> ftp://ftp.iana.org/tz/tzdata-latest.tar.gz
>> one would expect that the local db from os was queried. that db  
>> should be the correct one and receive updates from "normal"  
>> system-updates.
>
> Because both, the system database and the Horde database are  
> generated from the IANA source. But we cannot generate the Horde  
> database from the system database. It simply doesn't contain the  
> information that we need and is not parseable in the way the IANA db  
> is. But that location is just the default, you can specify any other  
> location, like a local copy of that file.
>
>> *) when does horde download that file and where is it's content saved?
>
> When it's not available yet or the cache TTL expired, into the  
> temporary directory.

And if you want full control over when and where from to download the  
database, just configure the value of $conf[timezone][location] to  
something like

     file:///var/horde/tzdata-latest.tar.gz

You can then download the data to that file at your own discretion or  
(in my case) by running a (monthly) cronjob to do that for you. Just  
make sure it is in the right format.

-- 
This message was sent from a mailinglist subscription address.
For off-list replies, you must remove the address extension.

-- 
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: horde-unsubscribe@lists.horde.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic