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

Re: cron jobs more often than daily



On 6 Jan 1998, Kai Henningsen wrote:

> schwarz@monet.m.isar.de (Christian Schwarz)  wrote on 06.01.98 in <[🔎] Pine.LNX.3.96.980106114024.23176E-100000@monet>:
> 
> >   (b) We set up a certain directory (say /usr/lib/cronjobs) where each
> >       package can install its own crontab file (/usr/lib/cronjobs/foo).
> 
> Use /etc/cron.often (or similar name). It will contain crontabs, not  
> executable scripts. All of them will be conffiles, so the sysadmin can  
> change them without fear of updates.

I like this option, too.

> Disadvantage: needs a patch for cron, to scan this directory as well as  
> the usual user crontab directory, and to execute those cronjobs as root,  
> not as a user.

It's a small "disadvantage", after all.

> Policy would be to only use this for cron jobs that absolutely cannot be  
> handled by any of the other /etc/cron.period directories.

Yes, that's very important to point out: Anacron will only run scripts in
the /etc/cron.period directories. Therefore, only jobs which can safely be
ignored if the system is powered down can be placed into /etc/cron.often. 
(What about "/etc/cron.generic" ?)


Other opinions?


Thanks,

Chris

--                  Christian Schwarz
                   schwarz@monet.m.isar.de, schwarz@schwarz-online.com
                  schwarz@debian.org, schwarz@mathematik.tu-muenchen.de
                       
                PGP-fp: 8F 61 EB 6D CF 23 CA D7  34 05 14 5C C8 DC 22 BA
              
 CS Software goes online! Visit our new home page at
 	                                     http://www.schwarz-online.com


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: