sorry, forgot the chmod part :)

sudo apt-get install ntpdate
sudo touch /etc/ntpdatey
sudo chmod +x /etc/ntpdatey
gksu gedit /etc/ntpdatey

There paste:
#!/bin/bash
ntpdate time.nist.gov ntp.nasa.gov

Save & close, then do:
gksu gedit /etc/crontab

Add a line:
0 */2 * * * /etc/ntpdatey

Save & close, then do:
sudo /etc/ntpdatey

-- 
time jumps ahead 10-20 minutes no matter the ntp server
https://bugs.launchpad.net/bugs/104091
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to