vdr 1.3.25 thread problems (was: Re: vdr 1.3.25 deliverswrong wakeup time)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 1 Jun 2005, Rainer Zocholl (RZ) wrote:

RZ> 
RZ> that is time
RZ> msi:~/video#  date  -d  "1970-01-01 1117634400 sec"
RZ> Wed Jun  1 15:00:00 CEST 2005
RZ> 
RZ> the timer is:
RZ> msi:~/video# grep Yourself /video0/timers.conf
RZ> 1:T-8468-8705-16403:MTWTF--:1600:1701:50:3:Do It Yourself - S.O.S.:
RZ> 
RZ> 
RZ> 
RZ> Jun  1 15:15:56 msi vdr[5722]: executing '/video0/pwroff 1117634400 2644 88
RZ> "Do It Yourself - S.O.S." 0'
RZ> Jun  1 15:15:56 msi pwroff: VDR shutdown 1:1117634400 2:2644 3:88 4:Do It
RZ> Yourself - S.O.S. 5:0 A:1117634400 2644 88 Do It Yourself - S.O.S. 0
RZ> Jun  1 15:15:57 msi pwroff: wrong wakeup time 1117634400!
RZ> 
RZ> 
RZ> It seems that VDR finds the right timer, but calcutes the time
RZ> in second wrong! 

the calculated time IS correct. you can use the small tool 'time' from 
nvram-wakeup package:

  # ./time 1117634400
  (time_t)     1117634400
  (local time) Wed Jun  1 16:00:00 2005
  (utc/gmt)    Wed Jun  1 14:00:00 2005

or, if you trust 'date', use this:

  # date +%s -d "Wed Jun  1 16:00:00 CEST 2005"
  1117634400



c ya
        Sergei
-- 
--------------------------------------------------------------------  -?)
         eMail:       Sergei.Haller@xxxxxxxxxxxxxxxxxxx               /\\
-------------------------------------------------------------------- _\_V
Be careful of reading health books, you might die of a misprint.
                -- Mark Twain


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux