时间:2009-7-5|作者: sunliguo|评论:No Responses|点击:|
Linux服务器的时间不是太准,就同步下时间:
0 0 * * * /usr/sbin/ntpdate time.nist.gov&& /usr/sbin/hwclock -w
太简单了,只用两个命令就搞定了。!^_^
或者是 ntpdate -u pool.ntp.org 上面的服务器好像是不管用了。
ps:
我好不容易写的那么多代码,现在服务器等不上去了。我好后悔没有备份啊!:( ,肠子都要悔青了!
随机文章:
Tags: hwclock, ntpadate
This entry was posted
on Sunday, July 5th, 2009 at 10:30 and is filed under Linux.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.