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.

| 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.  anacron is intended
for systems that aren't always on.  If your system is mostly off, then
how is it supposed to run a job every hour?  However, for such a
system, "daily" isn't so unreasonable.

If you want a job run hourly, use /etc/crontab or a file in
/etc/cron.d and use the "@hourly" designator.

-D

-- 
Pride goes before destruction,
a haughty spirit before a fall.
        Proverbs 16:18
 
http://dman.ddts.net/~dman/

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to