<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Make Sure Your Machine Is On The Correct Time With ntpdate</title>
	<atom:link href="http://ubuntu-tutorials.com/2007/02/19/make-sure-your-machine-is-on-the-correct-time-with-ntpdate/feed/" rel="self" type="application/rss+xml" />
	<link>http://ubuntu-tutorials.com/2007/02/19/make-sure-your-machine-is-on-the-correct-time-with-ntpdate/</link>
	<description>Enhancing your Ubuntu experience!</description>
	<lastBuildDate>Thu, 02 Feb 2012 10:29:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Death Insurance WebLog &#187; Blog Archive &#187; The Answer Guy 38: How 'ntpdate' finds IP addresses?</title>
		<link>http://ubuntu-tutorials.com/2007/02/19/make-sure-your-machine-is-on-the-correct-time-with-ntpdate/#comment-976</link>
		<dc:creator>Death Insurance WebLog &#187; Blog Archive &#187; The Answer Guy 38: How 'ntpdate' finds IP addresses?</dc:creator>
		<pubDate>Wed, 18 Jul 2007 12:34:23 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=276#comment-976</guid>
		<description>[...] Make Sure Your Machine Is On The Correct Time With ntpdate : Ubuntu &#8230; Note that the accuracy and reliability of ntpdate depends on the number of servers, the number of polls each time it is run and the interval between runs. http://ubuntu-tutorials.com/2007/02/19/make-sure-your-machine-is-on-the-correct-time-with-ntpdate/ [...]</description>
		<content:encoded><![CDATA[<p>[...] Make Sure Your Machine Is On The Correct Time With ntpdate : Ubuntu &#8230; Note that the accuracy and reliability of ntpdate depends on the number of servers, the number of polls each time it is run and the interval between runs. <a href="http://ubuntu-tutorials.com/2007/02/19/make-sure-your-machine-is-on-the-correct-time-with-ntpdate/" rel="nofollow">http://ubuntu-tutorials.com/2007/02/19/make-sure-your-machine-is-on-the-correct-time-with-ntpdate/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Tait</title>
		<link>http://ubuntu-tutorials.com/2007/02/19/make-sure-your-machine-is-on-the-correct-time-with-ntpdate/#comment-975</link>
		<dc:creator>James Tait</dc:creator>
		<pubDate>Thu, 22 Feb 2007 17:23:03 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=276#comment-975</guid>
		<description>Using ntpdate in this way is a very bad idea.  ntpdate should be run at boot time and only very rarely thereafter -- ntpd will keep your clock in sync, take account of &#039;drift&#039; to make sure your clock stays reasonably accurate even without a network connection, and won&#039;t end up with all the world&#039;s Ubuntu boxes hitting the NTP server at the same time.  This is actually what the &quot;Keep clock synchronized with Internet servers&quot; checkbox in the &quot;Adjust Date and Time&quot; dialogue box does -- it starts and stops ntpd.  I&#039;d correct this tutorial if I were you.</description>
		<content:encoded><![CDATA[<p>Using ntpdate in this way is a very bad idea.  ntpdate should be run at boot time and only very rarely thereafter &#8212; ntpd will keep your clock in sync, take account of &#8216;drift&#8217; to make sure your clock stays reasonably accurate even without a network connection, and won&#8217;t end up with all the world&#8217;s Ubuntu boxes hitting the NTP server at the same time.  This is actually what the &#8220;Keep clock synchronized with Internet servers&#8221; checkbox in the &#8220;Adjust Date and Time&#8221; dialogue box does &#8212; it starts and stops ntpd.  I&#8217;d correct this tutorial if I were you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: saharvetes</title>
		<link>http://ubuntu-tutorials.com/2007/02/19/make-sure-your-machine-is-on-the-correct-time-with-ntpdate/#comment-974</link>
		<dc:creator>saharvetes</dc:creator>
		<pubDate>Tue, 20 Feb 2007 05:14:08 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=276#comment-974</guid>
		<description>No, please don&#039;t use ntpdate! See &lt;a href=&quot;http://lists.debian.org/debian-user/2002/12/msg04091.html&quot; rel=&quot;nofollow&quot;&gt;this&lt;/a&gt;. You ought to update your post, IMHO.</description>
		<content:encoded><![CDATA[<p>No, please don&#8217;t use ntpdate! See <a href="http://lists.debian.org/debian-user/2002/12/msg04091.html" rel="nofollow">this</a>. You ought to update your post, IMHO.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lamont Peterson</title>
		<link>http://ubuntu-tutorials.com/2007/02/19/make-sure-your-machine-is-on-the-correct-time-with-ntpdate/#comment-968</link>
		<dc:creator>Lamont Peterson</dc:creator>
		<pubDate>Tue, 20 Feb 2007 04:58:39 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=276#comment-968</guid>
		<description>&lt;code&gt;ntpdate&lt;/code&gt; should never be run from cron. It is well known to cause problems, like the clock ending up farther off than it would have been otherwise due to repeated use of &lt;code&gt;ntpdate&lt;/code&gt;.

Running &lt;code&gt;ntpdate&lt;/code&gt; from cron is such a bad idea, that ntp&#039;s authors decided to remove the &lt;code&gt;ntpdate&lt;/code&gt; command entirely a couple of years ago. It appeaars that they changed their minds.

&lt;code&gt;ntpd&lt;/code&gt; is a very tiny daemon and the basic setup needed for desktop use is extremely simple. Not running &quot;one more daemon&quot;, though an understandable reason on it&#039;s own, doesn&#039;t make sense with &lt;code&gt;ntpd&lt;/code&gt;.

On my notebooks, I just run &lt;code&gt;ntpdate&lt;/code&gt; about once a month and let the system clock keep things close from there. The nature of the way notebooks are used and the varying powersources supplying the hardware clock at different times, means that their hardware clocks will drift more than the typical desktop machine&#039;s. Even running &lt;code&gt;ntpd&lt;/code&gt; on a notebook that doesn&#039;t always have a network connection produces better results.</description>
		<content:encoded><![CDATA[<p><code>ntpdate</code> should never be run from cron. It is well known to cause problems, like the clock ending up farther off than it would have been otherwise due to repeated use of <code>ntpdate</code>.</p>
<p>Running <code>ntpdate</code> from cron is such a bad idea, that ntp&#8217;s authors decided to remove the <code>ntpdate</code> command entirely a couple of years ago. It appeaars that they changed their minds.</p>
<p><code>ntpd</code> is a very tiny daemon and the basic setup needed for desktop use is extremely simple. Not running &#8220;one more daemon&#8221;, though an understandable reason on it&#8217;s own, doesn&#8217;t make sense with <code>ntpd</code>.</p>
<p>On my notebooks, I just run <code>ntpdate</code> about once a month and let the system clock keep things close from there. The nature of the way notebooks are used and the varying powersources supplying the hardware clock at different times, means that their hardware clocks will drift more than the typical desktop machine&#8217;s. Even running <code>ntpd</code> on a notebook that doesn&#8217;t always have a network connection produces better results.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dontturnaway</title>
		<link>http://ubuntu-tutorials.com/2007/02/19/make-sure-your-machine-is-on-the-correct-time-with-ntpdate/#comment-973</link>
		<dc:creator>dontturnaway</dc:creator>
		<pubDate>Mon, 19 Feb 2007 23:32:55 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=276#comment-973</guid>
		<description>sudo vim /etc/cron.hourly/setclock.cron

----------------------------
#and within it:

#!/bin/bash

clock=timeserverofyourchoicehere

/usr/sbin/ntpdate -s -u $clock &gt;&amp; /dev/null

/sbin/hwclock --adjust

/sbin/hwclock --systohc
------------------------------

Replace timeserverofyourchoicehere above with the time server of your choice, maybe something close to you in pool.ntp.org.

then:

sudo chmod +x /etc/cron.hourly/setclock.cron

It just works!

As another poster said, you can use ntpd instead, but ntpdate is very simple for most and people have had problems (just see UbuntuForums for many examples) with ntpd in Ubuntu and getting it working right. Plus, if I&#039;m running a desktop system I like ntpdate via cronjob rather than ntpd because I don&#039;t have extra computers to update and I don&#039;t want an extra daemon running all the time just for keeping the time on one system updated.</description>
		<content:encoded><![CDATA[<p>sudo vim /etc/cron.hourly/setclock.cron</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
#and within it:</p>
<p>#!/bin/bash</p>
<p>clock=timeserverofyourchoicehere</p>
<p>/usr/sbin/ntpdate -s -u $clock &gt;&amp; /dev/null</p>
<p>/sbin/hwclock &#8211;adjust</p>
<p>/sbin/hwclock &#8211;systohc<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>Replace timeserverofyourchoicehere above with the time server of your choice, maybe something close to you in pool.ntp.org.</p>
<p>then:</p>
<p>sudo chmod +x /etc/cron.hourly/setclock.cron</p>
<p>It just works!</p>
<p>As another poster said, you can use ntpd instead, but ntpdate is very simple for most and people have had problems (just see UbuntuForums for many examples) with ntpd in Ubuntu and getting it working right. Plus, if I&#8217;m running a desktop system I like ntpdate via cronjob rather than ntpd because I don&#8217;t have extra computers to update and I don&#8217;t want an extra daemon running all the time just for keeping the time on one system updated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jorge</title>
		<link>http://ubuntu-tutorials.com/2007/02/19/make-sure-your-machine-is-on-the-correct-time-with-ntpdate/#comment-972</link>
		<dc:creator>jorge</dc:creator>
		<pubDate>Mon, 19 Feb 2007 21:47:52 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=276#comment-972</guid>
		<description>Don&#039;t set your clock via cron and ntpdate, use ntpd instead:

http://episteme.arstechnica.com/eve/forums/a/tpc/f/96509133/m/982008055631/r/982008055631#982008055631

This works in Ubuntu as well as Debian.</description>
		<content:encoded><![CDATA[<p>Don&#8217;t set your clock via cron and ntpdate, use ntpd instead:</p>
<p><a href="http://episteme.arstechnica.com/eve/forums/a/tpc/f/96509133/m/982008055631/r/982008055631#982008055631" rel="nofollow">http://episteme.arstechnica.com/eve/forums/a/tpc/f/96509133/m/982008055631/r/982008055631#982008055631</a></p>
<p>This works in Ubuntu as well as Debian.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ubuntu Tutorials</title>
		<link>http://ubuntu-tutorials.com/2007/02/19/make-sure-your-machine-is-on-the-correct-time-with-ntpdate/#comment-971</link>
		<dc:creator>Ubuntu Tutorials</dc:creator>
		<pubDate>Mon, 19 Feb 2007 19:31:39 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=276#comment-971</guid>
		<description>Menachem - if you don&#039;t have a connection it will not work, sorry.</description>
		<content:encoded><![CDATA[<p>Menachem &#8211; if you don&#8217;t have a connection it will not work, sorry.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://ubuntu-tutorials.com/2007/02/19/make-sure-your-machine-is-on-the-correct-time-with-ntpdate/#comment-970</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Mon, 19 Feb 2007 19:24:03 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=276#comment-970</guid>
		<description>Strange thing, that on my Ubuntu install I have the problem that after 24 hours the clock is 5 minutes in the future. I use Archlinux on the same computer and there isn&#039;t this problem.
I&#039;m syncing Ubuntu&#039;s clock every hour to fix this problem but on my Archlinux I don&#039;t have to do this. Strange.</description>
		<content:encoded><![CDATA[<p>Strange thing, that on my Ubuntu install I have the problem that after 24 hours the clock is 5 minutes in the future. I use Archlinux on the same computer and there isn&#8217;t this problem.<br />
I&#8217;m syncing Ubuntu&#8217;s clock every hour to fix this problem but on my Archlinux I don&#8217;t have to do this. Strange.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Menachem</title>
		<link>http://ubuntu-tutorials.com/2007/02/19/make-sure-your-machine-is-on-the-correct-time-with-ntpdate/#comment-969</link>
		<dc:creator>Menachem</dc:creator>
		<pubDate>Mon, 19 Feb 2007 18:27:34 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntu-tutorials.com/?p=276#comment-969</guid>
		<description>What happens if you are using the computer without an internet connection? Do errors get displayed, or is it silent?</description>
		<content:encoded><![CDATA[<p>What happens if you are using the computer without an internet connection? Do errors get displayed, or is it silent?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: basic (User agent is rejected)
Database Caching 2/6 queries in 0.004 seconds using disk: basic
Object Caching 298/299 objects using disk: basic

Served from: ubuntu-tutorials.com @ 2012-02-09 23:31:18 -->
