How to update the hosts clock as part of cron daily?

Brian W. brian at brianwhalen.net
Tue Sep 8 14:05:46 UTC 2015


I run ntpdate at boot and ntpd  afterwards to keep it in sync. Copying a
few lines from /etc/defaults/rc.conf is pretty much all there is to it.
Search that file for ntpdate and ntpd if I remember correctly.

Brian
On Sep 8, 2015 6:57 AM, "Ernie Luzar" <luzar722 at gmail.com> wrote:

> Hello List;
>
> My host motherboard clock is losing about 3 seconds a day.
> I have replaced the the motherboard battery but this did not help.
> So now I want to run "ntpd -q" or ntpdate once a day as part of
> cron:periodic:daily.
> I see 480.status-ntpd but no info on what it does or how to active if.
>
> What is the normal practice to accomplish this?
>
> Thanks
> Ernie
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list