Differences between revisions 1 and 2
Revision 1 as of 2008-03-01 22:00:12
Size: 1343
Comment:
Revision 2 as of 2008-03-02 08:27:50
Size: 1743
Editor: MarkHobley
Comment: Additional content imported from markhobley.yi.org
Deletions are marked like this. Additions are marked like this.
Line 35: Line 35:
=== Using The Cron ===

To configure the system to synchronize the clock with an Internet Time Server, every morning add the following entry to the /etc/crontab configuration file:

#m h dom mon dow user command
57 5 * * * root /usr/sbin/ntpdate ntp.blueyonder.co.uk

=== Public Internet Time Servers ===

uk.pool.ntp.org (This points to a random United Kingdom based time server)

[:DebianWiki/EditorGuide#translation:Translation(s)]: [:fr/NTP:Français]

(!) [:/Discussion:Discussion]


Describe in one or two lines what your page is about.

  • ?TableOfContents(2)

#language en

[:DebianWiki/EditorGuide#translation:Translation(s)]: none

(!) [:/Discussion:Discussion]


Network Time Protocol, This will keep you system date with exact match to actual date.

  • ?TableOfContents(2)

  • Type date to see current date and time

date
  • Install NTP

apt-get install ntpdate
  • Done.
  • Type date again to see if the time changed.

  • [Optional]If you would like to add a server that is closer to you and you know its address. You could type:

/etc/init.d/ntp-server stop
ntpdate clock.fmt.he.net
ntpdate ntp1.tummy.com
/etc/init.d/ntp-server start

Using The Cron

To configure the system to synchronize the clock with an Internet Time Server, every morning add the following entry to the /etc/crontab configuration file:

#m h dom mon dow user command 57 5 * * * root /usr/sbin/ntpdate ntp.blueyonder.co.uk

Public Internet Time Servers

uk.pool.ntp.org (This points to a random United Kingdom based time server)