Created
June 29, 2015 04:48
-
-
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を開始させる。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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