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

Re: Why isn't there a cron.hourly?



On Fri, Jun 13, 2003 at 06:08:30PM -0400, Derrick 'dman' Hudson wrote:
> On Thu, Jun 12, 2003 at 03:14:00PM +0100, Colin Watson wrote:
> | On Thu, Jun 12, 2003 at 03:08:43PM +0200, Jon Haugsand wrote:
> | > RedHat has the directory /etc/cron.hourly, but this is not present in
> | > debian.  Why is that?
> | 
> | Probably because the main motivation for /etc/cron.<interval>, as I
> | understand it, is to make it possible to include crontab fragments in
> | packages,
> 
> No, that's what cron.d is for.

Both:

  [cjwatson@arborlon ~]$ dpkg -L man-db | grep 'cron.*/'
  /etc/cron.daily/man-db
  /etc/cron.weekly/man-db

> | and it seems rare for a package to want an hourly crontab.
> | Certainly it has benefits for users as well, but users can always use
> | /etc/crontab or 'crontab -e'; packages have to have separate files.
> 
> The cron.<interval> directories are for anacron.

Yeah, there's that too.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: