Quote:
Originally Posted by bathory
You can run ntpdate through a cronjob, to update your system time:
Code:
*/5 * * * * /usr/sbin/ntpdate -s 0.europe.pool.ntp.org 1> /dev/null
Of course use a ntp server that matches your location.
And read the ntpdate manpage for more options
Regards
|
very bery good idea!!
Actually I have tried the following
date
/usr/sbin/ntpdate -s 0.europe.pool.ntp.org
date
/usr/sbin/ntpdate
/usr/sbin/ntpdate -s 0.europe.pool.ntp.org
sudo /usr/sbin/ntpdate -s 0.europe.pool.ntp.org
root's password:
date
Tue Jul 18 20:37:55 CEST 2017
even with root password my time was not updated. It is twenty minutes behind the real time... any ideas?