From owner-freebsd-hackers Sun Sep 16 18:33:47 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from tao.org.uk (genius.tao.org.uk [212.135.162.51]) by hub.freebsd.org (Postfix) with ESMTP id C699A37B409; Sun, 16 Sep 2001 18:33:39 -0700 (PDT) Received: by tao.org.uk (Postfix, from userid 100) id 288DB3B6; Mon, 17 Sep 2001 02:33:34 +0100 (BST) Date: Mon, 17 Sep 2001 02:33:34 +0100 From: Josef Karthauser To: Alfred Perlstein Cc: Ben Smithurst , Tim Allshorn , freebsd-hackers@freebsd.org Subject: Re: Cron pickle Message-ID: <20010917023333.A3916@tao.org.uk> Mail-Followup-To: Josef Karthauser , Alfred Perlstein , Ben Smithurst , Tim Allshorn , freebsd-hackers@freebsd.org References: <20010917014932.V43502@strontium.shef.vinosystems.com> <20010916200714.X968@elvis.mu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="T4sUOijqQbZv57TR" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010916200714.X968@elvis.mu.org>; from bright@mu.org on Sun, Sep 16, 2001 at 08:07:14PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --T4sUOijqQbZv57TR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 16, 2001 at 08:07:14PM -0500, Alfred Perlstein wrote: >=20 > I'm not a date(1) wizard, but there's a possible issue here, if > the system is loaded cron may skip a beat possibly and that > conditional may be delayed such that it doesn't trigger. >=20 > My suggestion would be to use something more sophisticated such as > a file someplace that tracks the last time it was run to make sure > there's no race here. Or something less sophisticated like 12 cron entries, one for each month. Joe --T4sUOijqQbZv57TR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjulUu0ACgkQXVIcjOaxUBa8gwCgthWVXLM+oh584cNSLgbjDRoi nrUAn3w4aRz+Wcu643QCzd0UbhXW5SyS =wsit -----END PGP SIGNATURE----- --T4sUOijqQbZv57TR-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message