increase accuracy of the hwclock linux ubuntu pc when not connected to network

i am currently using the following commands to set the clock date & time using a network connection on a linux pc:

# dpkg-reconfigure tzdata
# ntpdate-debian
# /sbin/hwclock –systohc

The pc will be will not be connected to a network for a long period of time. Has anyone got suggestion on how to stop /slow the time drift in the PC clock time once the PC has been disconnected from the network?

gerrymac1943Asked:
Who is Participating?
 
simoespConnect With a Mentor Commented:
the only way is to have an atomic clock there's no other solution mabie try to change the bios battery  it could work
0
 
mcuk_stormCommented:
You are probably best having a look at this for some background and further info:
http://tldp.org/HOWTO/Clock-2.html

If it is a server and the time is critical you can get atomic clock cards or radio clock cards to go in the machine to provide a more accurate time. e.g. something like:
http://www.atomictimeclock.com/clockcard.php
0
 
simoespCommented:
do you whant to stop time when network it's off or to fix time ?
0
 
gerrymac1943Author Commented:
i just want to keep the time as accurate as possible i.e. as if it was connected to a network . I've noticed that the time can drift by up to 1 hour after a week when disconnected from a network.
0
 
gerrymac1943Author Commented:
thanks
0
All Courses

From novice to tech pro — start learning today.