[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#282742: Move daily find run later



This one time, at band camp, Andreas Metzler said:
> On Sat, Nov 27, 2004 at 05:32:20PM +0100, Peter Palfrader wrote:
> > On Sat, 27 Nov 2004, Andreas Metzler wrote:
> >> On 2004-11-24 Martin Schulze <joey@infodrom.org> wrote:
> >>> Package: findutils
> [...]
> >>> It would be nice if the daily find run could be moved behind the
> >>> logrotate and sysklogd runs (maybe as zz_find) so that log files which
> >>> could grew quite large were already compressed.
> >>> Alternatively, I could move the sysklogd script to 00_sysklogd which
> >>> would leave logrotate (hmm, and the apache compress & rotate mechanism).
> >> [...]
> >>> PS: I wonder if for similar reasons the directory should be id
> >>> based entirely.
> 
> >> Hello,
> >> I do not have any strong feelings about this. - If people think it to
> >> be the smart thing to do I can change it. However as the respective
> >> file is a dpkg-conffile it will be a PITA (I would mv
> >> /etc/cron.daily/find /etc/cron.daily/zz_find in preinst on upgrades)
> >> and I do not want to repeat the exercise.
> 
> > zz_find?  That's a really ugly name.  I'ld rather not have it changed if
> > it means living with such a beast.
> 
> Have you got any better ideas? Afaik the only possibilty to move the
> job is by giving it a name that sorts later.

Do the run-parts stuff, and then run this special script in /usr/share
last, if it exists.  A little ugly and special case, but I think I'd
rather have that than a zz_find script (ick)
-- 
 -----------------------------------------------------------------
|   ,''`.					     Stephen Gran |
|  : :' :					 sgran@debian.org |
|  `. `'			Debian user, admin, and developer |
|    `-					    http://www.debian.org |
 -----------------------------------------------------------------

Attachment: pgpyzU3xve1Jo.pgp
Description: PGP signature


Reply to: