sync time in debian with a ntp server

1. Install
apt-get install ntpdate

2. Create a new file in /etc/cron.hourly
#!/bin/bash
/usr/sbin/ntpdate your_timeserver >> /var/log/ntpdate.log

3. Give the file run rights
chmod +x file_name

admin on February 16th 2010 in IT, Linux

No Comments »

Trackback URI | Comments RSS

Leave a Reply

*




Check out new movies online website. Download and buy movies now.
1