Linux时间同步
run command crontab -e
add following:
*/1 * * * * su - root -c "/usr/sbin/ntpdate syncserver"
syncserver is sysn time server.
or <!--BODY{SCROLLBAR-HIGHLIGHT-COLOR: #ffffff; SCROLLBAR-SHADOW-COLOR: #CFCFCF; SCROLLBAR-3DLIGHT-COLOR: #CFCFCF; SCROLLBAR-ARROW-COLOR: #4C4C4C; SCROLLBAR-TRACK-COLOR: #ffffff;SCROLLBAR-DARKSHADOW-COLOR: #ffffff; SCROLLBAR-BASE-COLOR: #CFCFCF;SCROLLBAR-FACE-COLOR: #CFCFCF;overflow-y:auto;font-family:{Arial,Tahoma,ËÎÌå};font-size: 10pt;word-wrap:break-word;}P{margin:0px 0px 0px 0px;}-->
run this command manually /usr/sbin/ntpdate syncserver
相关推荐
qiaosym 2020-04-15
昭君出塞 2020-01-18
85407718 2020-01-06
Maplematics 2015-09-06
iamplane 2018-09-27
xiaobaichen 2015-09-06
iamplane 2011-10-10
hackerlpy 2011-03-29
哥哥的CSDN集 2011-03-12
ningningmingming 2010-08-28
doITwhat 2013-12-22
RuifengZeng 2013-11-07
87901735 2019-06-05
suyongxing 2019-04-16
wutongyuq 2016-07-31
jiangtie 2020-07-18
kuailexiaochuan 2020-07-04