|
本帖最后由 moowee 于 2018-12-6 18:43 编辑
My vps time is inconsistent with the Internet time.
I last synchronized the time with ntpdate, and today I found that the time has become wrong again.
I don't know, when will time become wrong again. It affects my use and hopes to help me fix it.
Can you help me solve the problem of wrong time?
thank you very much.
This is the wrong information below:
[root@~]# date
Thu Dec 6 13:05:27 CST 2018
[root@~]# hwclock
Thu 06 Dec 2018 01:05:55 PM CST -0.622322 seconds
[root@~]# ntpdate -u time.nist.gov
6 Dec 12:48:03 ntpdate[1471]: step time server 2610:20:6f96:96::4 offset -1340.142710 sec
[root@~]# date
Thu Dec 6 12:48:33 CST 2018
机器翻译发的TK,客服这样回复的,不太懂:
Hello,
Thanks for your patience.
We are using a linear script to set the time, Please use the below script to update or sync the time.
date -s "$(wget -qSO- --max-redirect=0 google.com 2>&1 | grep Date: | cut -d' ' -f5-8)Z"
Thanks and Regards,
Augustine Tom
ChangeIP.com
|
|