I know that the time synchs as the box boots up but this relys on an internet connection being available at boot time. Unfortunately, my internet connection takes ages to establish and the box is up before the connection exists. I'd like to put a command in the cron file to do a time synch at 00:10 on 1st January so that the box can get a time update if there has been a power cut.
Can anyone point me in the direction of how to do this? ntpdate doesn't seem to be installed.
Member for
16 years 10 monthsTry the command "ntpclient -s
Try the command "ntpclient -s -h <ntphost>"
Make sure you do set up the cron to only do this once.
Brett
Member for
15 years 1 monthThanks Brett, I'll give it a
Thanks Brett, I'll give it a go.
Following a power blip yesterday (when the mean temp was 0 C) the heating timings were all to pot. Causing much grief to/from SWMBO. Reliability is absolutely essential if everyone is to kept on board with the "project" .
Member for
16 years 10 monthsI agree stability is king -
I agree stability is king - at least for me. I want something that won't crash. Speaking of which I need to investigate this xap-serial issue.