Re: ntpdate from cron -- DON'T DO THAT! - Linux

Anonymous avatar
By Anonymous
at 2008-08-22T09:02

Table of Contents

※ 引述《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: [email protected]
: Subject: ntpdate from cron -- DON'T DO THAT!
: From: "N. Thomas" <[email protected]>
: Date: Sat, 21 Dec 2002 18:51:24 -0500
^^^^2002
: Message-id: <[email protected]>
: In-reply-to: <[email protected]>
: References: <[email protected]>
: 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.


--
Tags: Linux

All Comments

資料消失的隨身碟

Emma avatar
By Emma
at 2008-08-22T04:16
今天把筆電裝了ubuntu 8.04 也裝了lazyubuntu 之後用我的隨身碟傳了一些實驗資料到筆電裡 重開機後 不知怎麼地 我的隨身碟裡面的資料都看不見了 不過用df去看仍然可以看到裡面是有資料佔了空間的 而且ubuntu自己抓到這隨身跌的名稱是亂碼 這是要卸載的時候出現的錯誤訊息 左上是 ...

請問如何偵測使用者登入在本機?

Xanthe avatar
By Xanthe
at 2008-08-21T22:42
※ 引述《chiucs (ChiuCS)》之銘言: : if [ and#34;`/sbin/consoletype`and#34; = and#34;vtand#34; ]; then : unset LANG : else : LANG=zh_TW.Big5 : fi : ...

想問一下 end鍵的問題

Isla avatar
By Isla
at 2008-08-21T22:09
我現在使用 gnome-terminal上bbs 一切正常 不過end鍵有點小問題 當我按一次end鍵時 理應會跳最底的文章 不過我現在按一次end鍵會沒有反應 按下第二次時會送出 and#34;Fand#34;這個字元 雖然這個部份可以用送出and#34;$and#34; 來跳到最底的文章 不過 ...

ntpdate from cron -- DON'T DO THAT!

Elma avatar
By Elma
at 2008-08-21T22:02
http://0rz.tw/714Eo ntpdate from cron -- DONand#39;T DO THAT! To: debian-useratlists.debian.org Subject: ntpdate from cron -- DONand#39;T DO THAT! From ...

隨機排列

Kyle avatar
By Kyle
at 2008-08-21T19:43
一個文字檔有多個欄位 只想針對其中一欄進行隨機排列 而保持其他欄位不變 請問該怎麼操作 有版友可以給個方向嗎 謝謝 - ...