[Qa-jenkins-scm] [jenkins.debian.net] 01/01: try to workaround 'ntpdate[32510]: the NTP socket is in use, exiting'

Holger Levsen holger at moszumanska.debian.org
Sat Jun 13 09:38:05 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit d1d8f7b2cfaaec2b2b92ffcab74c801f62a8926d
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat Jun 13 11:37:15 2015 +0200

    try to workaround 'ntpdate[32510]: the NTP socket is in use, exiting'
---
 etc/cron.d/jenkins | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/etc/cron.d/jenkins b/etc/cron.d/jenkins
index 9a2ccc5..f281494 100755
--- a/etc/cron.d/jenkins
+++ b/etc/cron.d/jenkins
@@ -8,4 +8,4 @@ MAILTO=root
 
 0 1,13 * * * nobody /usr/bin/chronic /usr/local/bin/dsa-check-running-kernel            
 2 1,13 * * * nobody /usr/bin/chronic /usr/local/bin/dsa-check-packages
-30 * * * * root ( /usr/sbin/service ntp stop ; /usr/sbin/ntpdate de.pool.ntp.org ; /usr/sbin/service ntp start ) > /dev/null
+30 * * * * root ( /usr/sbin/service ntp stop ; sleep 2 ; /usr/sbin/ntpdate de.pool.ntp.org ; /usr/sbin/service ntp start ) > /dev/null

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list