Re: Time


Subject: Re: Time
From: Mac Mason (macmasta@ak.net)
Date: Tue Apr 30 2002 - 21:46:40 AKDT


Or just use ntpdate - it syncs your hardware clock to an atomic.
For example, ntpdate ntp.alaska.edu - poof!

Add it to your startup scripts, too.

~Mac~

n Tue, 2002-04-30 at 21:23, Clay Scott wrote:
>
> try 'man date'. the syntax is date MMDDhhmmYY.
> month/day/hour/minute/year
>
> to set the current date and time for anchorage (apr. 30, 2002 @ 9:20pm)
> would be:
>
> date 0430212002
>
> to save that to the hardware clock for after reboots, since i've noticed
> it doesn't always get saved properly, use the utility hwclock
>
> /sbin/hwclock --systohc
>
> this should be done on your next system shutdown, but after having to
> figure out why this wasn't happening a long while back, i do it just to
> be sure on the few times i ever have to change my clock manually.
>
> you might also want to look up the gnome app 'gnuclear'. it's an atomic
> clock app that gives you a list of servers to choose from and, if run as
> root, allows you to change the system clock to match.
>
> clay
>
> ---------
> To unsubscribe, send email to <aklug-request@aklug.org>
> with 'unsubscribe' in the message body.
>

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Tue Apr 30 2002 - 21:48:31 AKDT