this should work:
/usr/bin/rdate -s time.nist.gov
/sbin/hwclock --systohc
this will retrieve the date and time from time.nist.gov
Jim Ewaka wrote:
>
> I am trying to sync my server time to a national lab time resource.
> I was looking in Linuxconf, and there is the field to enter "Get date from
> server(s)"
>
> Can anyone tell me if this will only retrieve the date, or will it retrieve
> date and time? If it does retrieve date and time, does anyone know a good
> national lab to connect to?
>
> My goal is the easiest route to get my server to sync with a national time
> lab.
> Any help on the simplest approach to achieve this, and also what time
> servers to connect to, would be greatly appreciated.
>
> Thank you,
>
> Jim Ewaka
>
> --
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.