summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-06-13 11:37:15 +0200
committerHolger Levsen <holger@layer-acht.org>2015-06-13 11:37:20 +0200
commitd1d8f7b2cfaaec2b2b92ffcab74c801f62a8926d (patch)
treeda88913863431190e2bc76b32606c81b00cd8f13
parent74d068eb534bf14b597766b82e5138303f54b91e (diff)
downloadjenkins.debian.net-d1d8f7b2cfaaec2b2b92ffcab74c801f62a8926d.tar.xz
try to workaround 'ntpdate[32510]: the NTP socket is in use, exiting'
-rwxr-xr-xetc/cron.d/jenkins2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/cron.d/jenkins b/etc/cron.d/jenkins
index 9a2ccc59..f2814940 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