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