If ntp.conf is setup correctly, running ntpd -q -g does the trick
On Fri, May 10, 2013 at 10:36 PM, folkert <[email protected]> wrote: > Hi, > > I have a raspberry pi system. This is a computer without a real time > clock. So everytime I power it on, it uses starts where it left off > which might be days earlier. It is connected only very occasionally to > the internet so syncing to that won't work. It does have, however, a gps > connected. But as it is switched mostly for less than an hour, ntpd > won't have the time to adjust the time to what the gps returns to it. > So I was wondering: is there a utility/a trick out there that picks the > current time from a gps and then "jumps" the time to what it should be? > It does not need to be very accurate - a couple of seconds off is ok > (just not hours or days). > > Any ideas? > > > Regards, > > Folkert van Heusden > > -- > Winnen in de staatsloterij? Check htp://vanheusden.com/sl.php voor > alle staatsloterij-uitslag statistieken denkbaar en zelfs ook een paar > win-tips! > ---------------------------------------------------------------------- > Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com > _______________________________________________ > questions mailing list > [email protected] > http://lists.ntp.org/listinfo/questions _______________________________________________ questions mailing list [email protected] http://lists.ntp.org/listinfo/questions
