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

Re: cron jobs more often than daily



On Thu, Jan 15, 1998 at 12:50:51AM +0100, Sten Anderson wrote:

> > On Wed, Jan 14, 1998 at 12:06:36PM +1100, Hamish Moffatt wrote:
> > 
> > > But then the /etc/cron.d crontab needs to check that that script
> > > exists (since it doesn't need to be a conffile) and we're back where
> > > we started, now that I think about it.
> > 
> > 2 3	* * *	test -x /usr/bin/abc && /usr/bin/abc || /bin/true
               ^
	add root here

> Is it really necessary that these one line cronscripts are marked as
> conffiles? What are the advantages of keeping such a script around

Yes, because I might want that cronjob run at "5 4 * * *" because
at 2 a clock the system's running with heavy load anyway.  I don't
want to edit it with a new update.

btw. Steve, does your cron take care of faulty crontabs like
/etc/cron.d/ipac.dpkg-old?

Regards

	Joey

-- 
  / Martin Schulze  *  joey@infodrom.north.de  *  26129 Oldenburg /
 /                              No question is too silly to ask, /
/    but, of course, some are too silly to answer  -- perl book /

Attachment: pgpK_KL1qQBKI.pgp
Description: PGP signature


Reply to: