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 <gentoo-dev+bounces-24676-garchives=archives.gentoo.org@gentoo.org>) id 1I68ga-0006zo-Vy for garchives@archives.gentoo.org; Wed, 04 Jul 2007 17:30:41 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l64HSv5h015749; Wed, 4 Jul 2007 17:28:57 GMT Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.232]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l64HPMxO009909 for <gentoo-dev@lists.gentoo.org>; Wed, 4 Jul 2007 17:25:22 GMT Received: by wr-out-0506.google.com with SMTP id i30so143819wra for <gentoo-dev@lists.gentoo.org>; Wed, 04 Jul 2007 10:25:22 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ichkr177vIQv0gx9CM0aJvvxz5HYqGMz3m2KDYqtvmeIvT8LBdI9eOxS28wlH2GENGWL+P6YmnhdqzlOUcjuUCJNyYxvkS63JeLM6wxjNZTrxNTX7KC24R7YU4OOuDi4eK6pS2AJegyHsLM1lNGPCGcbhxEFx+iO/DQXacaytFk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QA23/yEaaaBWDQ7mMaWy+nSc6h9BfXlwdM80a3Sa9pUqezJxc45lr+uVM+RmvvDIsYjhLq44zC0+GLCDkvNcuUPNf3ipmL0u3j+v6QWN9+TGpZOX3vsaI55lnA8NpK4v8oyKWTi5shVz+nYnEjc6qbaM4neyEcLLjSU2nz4Djgg= Received: by 10.78.185.15 with SMTP id i15mr4242751huf.1183569550818; Wed, 04 Jul 2007 10:19:10 -0700 (PDT) Received: by 10.78.46.12 with HTTP; Wed, 4 Jul 2007 10:19:10 -0700 (PDT) Message-ID: <2bd962720707041019j73838864u9cb6231c82f1e31@mail.gmail.com> Date: Wed, 4 Jul 2007 13:19:10 -0400 From: "Ryan Reich" <ryan.reich@gmail.com> To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Re: Re: Inotify and (f)crontabs In-Reply-To: <20070701191901.GA20002@storsten.pD9E26FF0.dip.t-dialin.net> Precedence: bulk List-Post: <mailto:gentoo-dev@lists.gentoo.org> List-Help: <mailto:gentoo-dev+help@gentoo.org> List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@gentoo.org> List-Subscribe: <mailto:gentoo-dev+subscribe@gentoo.org> List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org> X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <2bd962720707010748g6fcb96cfw47a85610aadc9f79@mail.gmail.com> <20070701170635.GA17876@storsten.pD9E26FF0.dip.t-dialin.net> <2bd962720707011030q265bb1eeqedfd0ac19920e939@mail.gmail.com> <20070701191901.GA20002@storsten.pD9E26FF0.dip.t-dialin.net> X-Archives-Salt: a9b5dbc4-c69f-4b05-bf25-9e6d36e2f3db X-Archives-Hash: 38e2d52cf4643ee03d2f76e5e0cf618b On 7/1/07, Daniel Sch=F6mer <daniel.schoemer@gmx.net> wrote: > Hi! > > Ryan Reich wrote: > > On 7/1/07, Daniel Sch=F6mer <daniel.schoemer@gmx.net> wrote: > >> $ sudo fcrontab -l systab > >> [...] > >> %hourly 0-30 run-parts --report /etc/cron.hourly > >> %daily * * run-parts --report /etc/cron.daily > >> [...] > > Less ambiguously a bug, though, is that the syslog will only > > record running run-parts and not which parts were run). > > Would it be sufficient to let this also be done by run-parts? > Then there would be records of fcron starting run-parts and > records of run-parts starting each script. That works of course, though if you're at the point of modifying run-parts you might as well modify the crontabs setup. I mean, having run-parts do the logging is silly since fcron already has a logging capability, and since the only point of using run-parts is to assist fcron. Otherwise you're just creating further unnecessary complexity. > > Have you any thoughts on what to do with check_system_crontabs? > > Its schedule is inherently reactive and not periodic, so > > really, administering it with (f)cron at all is a logical > > error. That's why I suggested inotify in the first place. > > I must say, I can't remember that I've seen check_system_crontabs > on my desktop; maybe I just suppressed it :-). Now that I think > of it, I'm remembering an elog message from the fcron ebuild > telling me to use the fcrontab systab for system-wide jobs > instead of /etc/{f,}crontab. > > Using inotify sounds more logical for me than using (f)cron for > this. If there's interest in incorporating this, I wouldn't mind testing my idea. Once I get past the initial resistance to doing anything at all, it's probably two minutes' compilation time plus two more writing the config files to set up. --=20 Ryan Reich -- gentoo-dev@gentoo.org mailing list