Re: Bug#132505: debian status script(s)
On Wed, Feb 06, 2002 at 10:18:06AM +0000, Wilmer van der Gaast wrote:
> Joey Hess@lists.debian-devel@Fri, 1 Feb 2002 17:18:52 -0500:
> > At first glance, the cron.weekly (and daily? That'd be a bit annoying)
> > scripts could do something of this sort, but we'd probably want a way to
> > turn it on/off, and so on. It might be better if the scripts just logged
> > to syslog, then logcheck and other tools could take care of the mailing
> > bit if the admin wants to set that up.
> Sorry for abusing this thread for my little idea.. But I think it would be
> useful if I could disable a service in cron.* by removing the executable
> permissions. That's how I do it now already, but run-parts still tries to
> execute them, spamming me every day because it didn't work.
> Wouldn't it be better to give run-parts the intelligence of skipping
> non-executable files?
Move the file to /etc/cron.daily/file.disabled. run-parts ignores
filenames containing '.'.
Julian Gilbey, Dept of Maths, Debian GNU/Linux Developer
Queen Mary, Univ. of London see http://people.debian.org/~jdg/
http://www.maths.qmul.ac.uk/~jdg/ or http://www.debian.org/
Visit http://www.thehungersite.com/ to help feed the hungry