Re: [xmltv-users] UK Atlas load/usage warning email
Ian Campbell <[email protected]>
| Newsgroups | gmane.comp.tv.xmltv.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 2016-05-12 at 09:01 +0100, [email protected] wrote: > 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. I just misread the grabber code, I don't think myth will drop anything (except perhaps things actually in the past). In any case I think it is working as intended, i.e. fetching N days worth in 24hr increments (whichever 24hr span it happens to be, it'll line up into a continuous span), is that right? Ian. ------------------------------------------------------------------------------ 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