This shows you the differences between two versions of the page.
en:linux:ntp [2010/03/06 22:35] matthieu created |
en:linux:ntp [2011/01/08 12:46] (current) matthieu |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{tag>en en:linux en:time}} | ||
====== Ntp ====== | ====== Ntp ====== | ||
There is several ways to do time synchronization with [[Debian]] : | There is several ways to do time synchronization with [[Debian]] : | ||
Line 21: | Line 22: | ||
To make the time synchronization permanent, we will use cron, for example by adding the file ///etc/cron.d/ntp// with the following content : | To make the time synchronization permanent, we will use cron, for example by adding the file ///etc/cron.d/ntp// with the following content : | ||
<file> | <file> | ||
- | 59 * * * * root /usr/sbin/ntpdate pool.ntp.org | + | 59 * * * * root /usr/sbin/ntpdate pool.ntp.org >> /var/log/cron.log |
</file> | </file> | ||
===== Backup ===== | ===== Backup ===== | ||
* /etc/cron.d/ntp | * /etc/cron.d/ntp | ||
- | |||
- | ===== Links ===== | ||
- | * [[bender]] | ||
- | * [[livetux]] | ||