From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1I7OIk-0001Vu-40 for garchives@archives.gentoo.org; Sun, 08 Jul 2007 04:23:14 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l684MGlF012758; Sun, 8 Jul 2007 04:22:16 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l684KQlu010553 for ; Sun, 8 Jul 2007 04:20:26 GMT Received: from ip6-localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 8549F64EB3 for ; Sun, 8 Jul 2007 04:20:25 +0000 (UTC) From: Mike Frysinger Organization: wh0rd.org To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Inotify and (f)crontabs Date: Sun, 8 Jul 2007 00:22:48 -0400 User-Agent: KMail/1.9.7 References: <2bd962720707010748g6fcb96cfw47a85610aadc9f79@mail.gmail.com> <200707072321.28435.vapier@gentoo.org> <2bd962720707072107w5f9594cdl6d6183262ed103df@mail.gmail.com> In-Reply-To: <2bd962720707072107w5f9594cdl6d6183262ed103df@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2330753.VesR2zg4H8"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200707080022.49121.vapier@gentoo.org> X-Archives-Salt: f2187342-4957-414b-9ce7-cd42542d548e X-Archives-Hash: d2b4fe6f63fc612f971a185d3ddbf46c --nextPart2330753.VesR2zg4H8 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 08 July 2007, Ryan Reich wrote: > On 7/7/07, Mike Frysinger wrote: > > On Saturday 07 July 2007, Peter Gordon wrote: > > > On Sat, 2007-07-07 at 04:23 -0400, Mike Frysinger wrote: > > > > you missed a critical aspect: offline time. the way run-crons is > > > > implemented, if you happen to routinely shut your machine off at the > > > > time that the cronjob is supposed to fire, then the standard you > > > > proposed will pretty much never fire. the run-crons implementation > > > > however has a pretty good guarantee that the periodic crons will get > > > > fired at the next uptime opportunity. > > > > > > Isn't this perfectly what anacron is intended for? > > > > yes and no ... anacron is designed with this issue in mind, but as the > > homepage of anacron explains, it does not replace the normal cron > > functionality and as such cannot be used on its own > > I have to disagree in this particular case. The anacron homepage, > anacron.sourceforge.net, gives this exact situation as its primary > example of what anacron is intended for. Sure, it's not good for > handling more complex scheduling, but it seems to do what run-crons > tries to do: run jobs that should have been executed while the > computer was off, as soon as it comes back on. Am I missing something > subtle? run-crons transparently gives all crons this behavior with very little=20 overhead rather than making every user set up a dual system: a standard cro= n=20 and anacron. run-crons is a default helper for crons that just works. if you want to no= t=20 use it but opt for anacron instead, nothing is stopping you from doing=20 exactly that. =2Dmike --nextPart2330753.VesR2zg4H8 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (GNU/Linux) iQIVAwUARpBmmEFjO5/oN/WBAQId7A//W/wY18nCOwNR0MvpekfY9XrZcI/TRh0M vjMNraf+7YrCJUZRK4dOSiOi09K+/4F2Q/4hPsHrCvWD5UcRYnOwUF/DCrEjDbNC 9Um036M2AnyNEgORY8aOu6LUkgQ3m0GVO2QEimljilRC1mlwT54Yk4X13jghjKWW h2jvOO4fKaAnwBIuetfP8Sq5nXsvSPmSMuh2nYr4zLIO4uq7if2wnUHfSffdRpyg FMCrCwq1x0I73//Ran4DT0sWsqmospx8WKcpp3059M2y9st5jwT5U7zfnMeVcxv1 oJKc4dkyLI0k3xpOMnd8lfhhqKiW81f5Gy0ry8QRZtO0cUuohs2sRJgS5rQ72lwn SNHN00hC0YBdhoB4+93j7gkT4HDDERF6mhR8khGF140ejF4JemiLTM7wsPw6uMF4 0Y0y2zCMwQgxiJiMbUKRb7JziLqezfkOY+KCWv2P5j7KPbqoaL5f8SD7RLQMn5fQ 8M0WSSeT5llBgE3DbDdTpliJAxG8zPizxrXx3FEL8DdrAM2rq8i15sC6Yjh9Jt1R 1Oa1CLPdSVd+MGnYeauOZLePtpBHxZHH3W7yxdu2zSLpZ0YxIhoIhJTchC0mcNCS XiqTc4QPyF7irmmj2+x5SCUNX88tvwyU2NUMrVEqfPhCiu7vp0lcLD5bCVMydOVy T1gFAKeF7wA= =QzMz -----END PGP SIGNATURE----- --nextPart2330753.VesR2zg4H8-- -- gentoo-dev@gentoo.org mailing list