From owner-freebsd-stable@FreeBSD.ORG Mon Jun 30 13:19:03 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AC38548B for ; Mon, 30 Jun 2014 13:19:03 +0000 (UTC) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 337BD2663 for ; Mon, 30 Jun 2014 13:19:03 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.9/8.14.9) with ESMTP id s5UDIvI0028872 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 30 Jun 2014 16:18:57 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.8.3 kib.kiev.ua s5UDIvI0028872 Received: (from kostik@localhost) by tom.home (8.14.9/8.14.9/Submit) id s5UDIvBv028871; Mon, 30 Jun 2014 16:18:57 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 30 Jun 2014 16:18:57 +0300 From: Konstantin Belousov To: cdr.nil@gmail.com Subject: Re: Hourly cron jobs running to early Message-ID: <20140630131857.GL93733@kib.kiev.ua> References: <000f01cf9463$b1e0b300$15a21900$@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XDjvnsv+LUV9J1kR" Content-Disposition: inline In-Reply-To: <000f01cf9463$b1e0b300$15a21900$@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on tom.home Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jun 2014 13:19:03 -0000 --XDjvnsv+LUV9J1kR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 30, 2014 at 02:03:31PM +0100, cdr.nil@gmail.com wrote: > Folks, >=20 > I, too, am seeing a problem of cron running jobs a few seconds too early. > This is on a Thinkpad T42 running: >=20 > FreeBSD cobalt 10.0-RELEASE-p6 FreeBSD 10.0-RELEASE-p6 #3 r267829M: Wed J= un > 25 07:41:33 BST 2014 root@cobalt:/usr/obj/usr/src/sys/GENERIC i386 >=20 > BIOS clock is running UTC and is under ntpd control. >=20 > I noticed this on a logging cron job that is supposed to run on the hour. > These are the last few timings: >=20 > 03:59:47 > 04:59:12 > 05:59:47 > 06:59:47 > 07:59:47 > 08:59:47 > 09:59:47 > 10:59:47 > 11:59:47 > 12:59:47 >=20 The head r261146, merged to stable/10 as r261231, seems to be relevant. > Best Regards, > Mark Willson >=20 > -----Original Message----- > From: owner-freebsd-stable@freebsd.org > [mailto:owner-freebsd-stable@freebsd.org] On Behalf Of Spil Oss > Sent: 30 June 2014 10:05 > To: freebsd-stable@freebsd.org > Subject: Hourly cron jobs running to early >=20 > Hi, >=20 > A system I manage that was recently upgraded from 9 to 10.0 and to a > later version of VMWare vSphere (5.5U1) is no longer running hourly > jobs at the top of the hour but just before. This is especially > annoying for newsyslog that doesn't then cycle logfiles that are set > to daily rotation. >=20 > grep -E " (00|23):" /var/log/cron.log > Jun 25 23:59:34 gw /usr/sbin/cron[94620]: (root) CMD (newsyslog) > Jun 26 00:59:51 gw /usr/sbin/cron[95380]: (root) CMD (newsyslog) > Jun 26 23:59:12 gw /usr/sbin/cron[21259]: (root) CMD (newsyslog) > Jun 27 00:59:34 gw /usr/sbin/cron[22036]: (root) CMD (newsyslog) > Jun 27 23:59:25 gw /usr/sbin/cron[49211]: (root) CMD (newsyslog) > Jun 28 00:59:34 gw /usr/sbin/cron[49968]: (root) CMD (newsyslog) > Jun 28 23:58:55 gw /usr/sbin/cron[83459]: (root) CMD (newsyslog) > Jun 29 00:59:51 gw /usr/sbin/cron[84221]: (root) CMD (newsyslog) > Jun 29 23:59:51 gw /usr/sbin/cron[6571]: (root) CMD (newsyslog) > Jun 30 00:59:51 gw /usr/sbin/cron[7327]: (root) CMD (newsyslog) >=20 > ntpd is configured on the server and working fine > # ntpdate -q ntp1.nl.uu.net > server 193.79.237.14, stratum 1, offset -0.000250, delay 0.02942 > 30 Jun 10:54:50 ntpdate[19771]: adjust time server 193.79.237.14 > offset -0.000250 sec >=20 > Looking at all hourly newsyslog jobs for a day > 14:59:51 15:59:47 16:58:42 17:59:51 18:59:55 19:59:55 20:59:51 > 21:59:12 22:59:34 23:59:51 23:59:51 23:59:51 00:59:51 01:58:42 > 02:59:29 03:59:47 04:59:51 05:59:47 06:59:38 07:59:51 08:59:42 > 09:58:42 10:58:42 > I don't really see a pattern in this > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >=20 > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" --XDjvnsv+LUV9J1kR Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJTsWPBAAoJEJDCuSvBvK1BurUP/jf/X6HlTryHURCFRnLWRHAv pBJMegM+SMBcFvAjVjFInYqvQvY1Q+0GjWtJwKACxqvmzW3/jBwRvRYrA332NhjG 9B+U2z8CpvwlhmkZv1pOg7cQNdOhLXa8sSapDApZpHqnKBsnQpzJ1LTFyQ+gnkAC GPT810iQO/NtvxadR9q6is8bHe+LCRnuEnnFL47B0ocJSqH28Gwwkz+CHGT42QTo Fe7bJH/VWJLf8xMpe5452xlxTdkJptYyWeiVaShXrt89E7nR8RyP2KYFF85ZUQEz cQwNSiBEFrWszfkilhqVOCYyao+5z2EEANh9iOcxD0MQByhujekWO/PGScpNoO66 fdCHkikoPW2mFUmkpYeaQGw+E+Zy8lYUQA0l8KDvzhgpkexD/ZZl9BlYDuWLgobY 5HDnvEmFBXeXtAQZBD+AtBWzCnrFw5CJn48pCEmpzlbtSJTTQbM8DiD5pwGbXcen V2FihBk+DICJ/uJdml0sCt8sQeDM8/v9YJAmJvM4D3nNfOrrwUFCaTxQ/nHeU9wL gPcss5XV07fWiqvnOZUdOO+ecvcqLXkUzX2XGll8azVvtAJcNgyaHluYIic1xBpf BMZ7m2lJt46uXg3FIaLzTv6xon3xvItEADe2Y/YMCIwXMJ/6x74dNqsk0YVMDOIx OV2KZYcpn8MDkg/MUriU =ZQh6 -----END PGP SIGNATURE----- --XDjvnsv+LUV9J1kR--