🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: dc.org.linux-users
Article #273

Re: how do I set the time on my PC?

#273
From: Tiny Human Ferret
Date: Fri, 12 Oct 2001 17:11
29 lines
2166 bytes
big_daddy.nospam@thediapersuperstore.com wrote:
> 
> Geof Goodrum <ggoodrumnospam@bigfoot.com> wrote:
> >>date --set 07:45
> 
> > Using 'date' to set the system time is "Bad Practice" (see 'man hwclock'
> > for why).
> 
> > Use 'hwclock' to set the hardware clock for the next reboot if the
> > machine is not network connected (also use the adjtime option), or use
> > ntp or ntpdate (part of ntp package) for network attached systems.
> 
> 'man hwclock' on my box doesn't tell me that using 'date' is bad.
> 
> On my Slackware boxes, the system time is written to the hardware clock on
> all reboots.
> 
> hwclock has too many parameters and hoops to jump through :-)

That's why I suggest using `date` to set the time and date, and then
immediately reboot if you've got the `hwclock` call in your shutdown
scripts.

> 
> Big Daddy


--
Whom thou'st vex'd waxeth wroth:  Meow. <-----> http://earthops.net/klaatu/
Technical Details
Message-ID: <3BC72456.1D3B0A85@clark.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.abs.net!feeder.qis.net!nntp1.roc.gblx.net!nntp.gblx.net!nntp.gblx.net!vienna7.his.com
References: <3BAE8EA8.B9D37BCA@alumni.umass.edu> <nkp1p9.p5s.ln@hub3.idk-enterprises.com> <slrn9rejm0.mn7.ggoodrumnospam@cj22743-a.alex1.va.home.com> <an98p9.8ns.ln@hub3.idk-enterprises.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11663c,887e36769819ab0c
X-Google-Attributes: gid11663c,public
X-Google-ArrivalTime: 2001-10-12 10:11:52 PST
Message-ID: <3BC72456.1D3B0A85@clark.net>
Date: Fri, 12 Oct 2001 13:11:50 -0400
From: Tiny Human Ferret <klaatu@clark.net>
Reply-To: klaatu@clark.net
Organization: copyright 2001 all rights reserved -- non-UseNet transmission 
 prohibited.
X-Mailer: Mozilla 4.5 [en] (X11; U; Linux 2.2.17 i586)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: dc.org.linux-users
Subject: Re: how do I set the time on my PC?
References: <3BAE8EA8.B9D37BCA@alumni.umass.edu> <nkp1p9.p5s.ln@hub3.idk-enterprises.com> <slrn9rejm0.mn7.ggoodrumnospam@cj22743-a.alex1.va.home.com> <an98p9.8ns.ln@hub3.idk-enterprises.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 65.205.1.227
X-Trace: vienna7.his.com 1002906710 65.205.1.227 (12 Oct 2001 13:11:50 -0400)
Lines: 29
X-Authenticated-User: tjh22isp
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.abs.net!feeder.qis.net!nntp1.roc.gblx.net!nntp.gblx.net!nntp.gblx.net!vienna7.his.com