[mythtvnz] Timesync via Sat.

Noel & Di mythtvnz@lists.linuxnut.co.nz
Thu, 31 May 2007 04:35:54 +1200


Andrew Ruthven wrote:

>On Wed, 2007-05-30 at 08:38 +1200, David Zanetti wrote:
>  
>
>>On Wed, 2007-05-30 at 08:23 +1200, Noel & Di wrote:
>>
>>    
>>
>>>Something to ponder. What would it take to make a script to hook the 
>>>time out of the DVB-S stream instead of using a TCP-IP based webserver 
>>>for time sync??  The STBs do this so it should be possible under MythTV, 
>>>but I have no idea how to do this.
>>>      
>>>
>>You're after a tool called 'dvbdate', in Debian it's part of the
>>dvb-utils package.
>>
>>Note that it's not *that* accurate, very much sub-GPS or even well
>>sourced NTP. If you have a network connection, NTP is a better option.
>>    
>>
>
>Another option is dvbdate_ntp which provides the DVB sourced timestamp
>as a NTP source.  Only useful if you're already use NTP, or want to use
>NTP.
>
>Website:
>  http://simon.arlott.org/sw/dvbdate_ntp/
>
>I've been meaning to wrap it up as a Debian package, but haven't got
>around to it yet...
>
>Cheers!
>
>  
>
I am struggling to get my crontab entry to work
After creating  a crontab.txt file of 
0 * * * * /usr/bin/dvbdate --set
and invoking
crontab crontab.txt
I get a message "unable to set time: Operation not permitted.
What am I doing wrong??