回文章列表
作者JohnLinq.bbs@ptt.cc (林約翰) 看板: linux
標題Re: ntpdate from cron -- DON'T DO THAT!
時間批踢踢實業 (2008/08/22 Fri 09:02:23)
※ 引述《depository (dreamer)》之銘言:
: 標題: ntpdate from cron -- DON'T DO THAT!
: 時間: Thu Aug 21 22:02:58 2008
                            ^^^^2008
: http://0rz.tw/714Eo
: ntpdate from cron -- DON'T DO THAT!
: To: debian-user@lists.debian.org
: Subject: ntpdate from cron -- DON'T DO THAT!
: From: "N. Thomas" <nthomas@cise.ufl.edu>
: Date: Sat, 21 Dec 2002 18:51:24 -0500
                    ^^^^2002
: Message-id: <20021221235124.GC11323@cise.ufl.edu>
: In-reply-to: <4.3.2.7.2.20021221104326.02875d18@nothnbut.net>
: References: <4.3.2.7.2.20021221104326.02875d18@nothnbut.net>
: or something similar into their crontab files. The ntp daemon does not
: do this as it randomizes the time it waits between queries.
: For this reason, Dr. Mills (ntp author) has deprecated ntpdate, and
: indeed, he will be removing it completely from a future release.
: 推 Bencrie:囧rz 我放在rc.local,感謝通知 ~                         08/21 22:20
                    ^^^^^^^^^^^^
http://www.linuxmanpages.com/man1/ntpdate.1.php

or [ man ntpdate ]

ntpdate can be run manually as necessary to set the host clock, or it can be
                                                                   ^^^^^^^^^
run from the host startup script to set the clock at boot time. This is
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
useful in some cases to set the clock initially before starting the NTP
daemon ntpd . It is also possible to run ntpdate from a cron script. However,
it is important to note that ntpdate with contrived cron scripts is no
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
substitute for the NTP daemon, which uses sophisticated algorithms to
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
maximize accuracy and reliability while minimizing resource use. Finally,
since ntpdate does not discipline the host clock frequency as does ntpd , the
accuracy using ntpdate is limited.


--
※ 發信站: 批踢踢實業坊(ptt.cc) 
◆ From: 61.221.140.178
文章選讀←離開[主題上]主題下(k)上篇(j)下篇S/a搜尋 G串列 TAB精華 ↑↓捲 Pg/Space翻