17 Dec
2005
17 Dec
'05
03:21
On Friday 16 December 2005 10:07 pm, Paul W. Abrahams wrote:
2. If network access is available only intermittently, "ntpd -q" (equivalent to ntpdate, but better) should be called from a cron job or when access is available to update the drift file on a one-time basis.
Another tidbit for you.... ip-up for dialup users (and possibly pppoe users but I'm not sure of that) will call poll.tcpip which will attempt to update the clock when the network is up. So the above should not be necessary. From ip-up: # /etc/ppp/poll.tcpip as shipped is able to set the system clock using # ntpdate (see the XNTPD_INITIAL_NTPDATE setting in # /etc/sysconfig/xntp).