Skip to content

Instantly share code, notes, and snippets.

@CLCL
Created June 29, 2015 04:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CLCL/dfc4760ff684b8798c8a to your computer and use it in GitHub Desktop.
Save CLCL/dfc4760ff684b8798c8a to your computer and use it in GitHub Desktop.
要root。CentOS 6でうるう秒対策で来ていないサーバで、2015/6/30以前に実行しておく。atdサービスで2015/6/30 8:59:00にNTPDを止めて、2015/7/1 9:01にNTPDを開始させる。
yum -y install at
echo '/sbin/service ntpd stop' | at '08:59 30.06.15'
echo '/sbin/service ntpd start' | at '09:01 01.07.15'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment