diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-06-13 11:37:15 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-06-13 11:37:20 +0200 |
commit | d1d8f7b2cfaaec2b2b92ffcab74c801f62a8926d (patch) | |
tree | da88913863431190e2bc76b32606c81b00cd8f13 | |
parent | 74d068eb534bf14b597766b82e5138303f54b91e (diff) | |
download | jenkins.debian.net-d1d8f7b2cfaaec2b2b92ffcab74c801f62a8926d.tar.xz |
try to workaround 'ntpdate[32510]: the NTP socket is in use, exiting'
-rwxr-xr-x | etc/cron.d/jenkins | 2 |
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 |