Re: [xmltv-users] UK Atlas load/usage warning email

<[email protected]>
Newsgroups gmane.comp.tv.xmltv.devel
Message-ID <[email protected]>
On Thu, 12 May 2016 08:38:11 +0100, Ian Campbell wrote:

[...]
> It seems the grabber's --days causes it to grab from 00:00-23:00 of the
> day in question, rather than from now-now+24h, so AFAICT there is not a
> problem with skew over the loop missing bits, unless it runs over
> midnight (my cron.daily runs in the AM so it really shouldn't).
> 
> I also considered $(seq 0 12 240) and --hours 12, but I wasn't so sure
> it had the above property.
> 
> Ian.

The grabber will fetch a 'calendar' day - i.e. one in GMT. So fetching today will actually fetch from 23:00 yesterday to 23:00 today. I suspect mythfilldatabase then drops the hour that is 'yesterday' so you think it is fetching 00:00-23:00.  

If you want a full day during BST then you have to add the param --dst on the commandline. It will then fetch 23:00 yesterday to midnight today - i.e. 25 hours.

If you want to fetch "now - now+24h" then you have to use the --hours facility not the --days one.

Geoff

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.