From d1d8f7b2cfaaec2b2b92ffcab74c801f62a8926d Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 13 Jun 2015 11:37:15 +0200 Subject: 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 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 -- cgit v1.2.3-70-g09d2