Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
要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