[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Time sync
From: |
Fred . |
Subject: |
Re: Time sync |
Date: |
Sat, 16 Feb 2008 21:52:53 +0100 |
I was thinking of like running date without a daemon, such as;
$ date --sync time-a.nist.gov
But maybe you're right. Date should be simple, and I can use ntpd instead.
On Feb 16, 2008 7:02 AM, Bob Proulx <address@hidden> wrote:
> Fred . wrote:
> > Why is there no 'time synchronization' feature in the 'date' software
> > that comes with GNU Coreutils?
>
> Tasks such as that require a long running deamon process to keep the
> system in step with the outside world. The date command is a simple
> run and exit command. It is not designed to be a daemon. Also very
> good alternatives already exist. It wouldn't make sense to duplicate
> that code in date.
>
> > It would be nice to be able to sync the date with remote Internet
> > time servers.
>
> See the ntpd project. It is the standard upon which all others
> build. If you are running a standard software distribution then it is
> very likely that ntpd is already included.
>
> http://www.ntp.org/
>
> http://en.wikipedia.org/wiki/Network_Time_Protocol
>
> Bob
>