Re: Change the time and date

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 29 Dec 2006, Mike McCarty wrote:

Tim wrote:
eng.waleed:

how  can I set the time and the date on FC3 from command line


Brad Bonkoski:
man date


An alternative is ntpdate.  That'll set your clock according to a

I use this little script (as root)

rdate -p -s time.nist.gov
/sbin/hwclock --systohc


and maybe add to  /etc/crontab

0 * * * * root (rdate -p -s -u 192.43.244.18 ; hwclock --systohc) > /dev/null 2>&1


--
Cheers
Res

"Just a world that we all must share, it's not enough just to stand and
stare, is it only a dream that there'll be no more turning away" - Floyd



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux