Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jun 2014 16:18:57 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        cdr.nil@gmail.com
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Hourly cron jobs running to early
Message-ID:  <20140630131857.GL93733@kib.kiev.ua>
In-Reply-To: <000f01cf9463$b1e0b300$15a21900$@gmail.com>
References:  <CAEJyAvNteTZA5xiUzwNr=W241LZzWMB%2BQppZa829eDDSsCT2ng@mail.gmail.com> <000f01cf9463$b1e0b300$15a21900$@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140630131857.GL93733>