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

[PROPOSAL] Get rid of the cron.daily dir



I propose to remove the /etc/cron.daily directory from the
list of required periodic script directories in /etc

This is not a serious restriction, as the new "crontab snippet"
directory (etc/cron.d) allows arbitrary execution periods,
even on hour. 
 
Also this proposal would resolve the contradiction in the
wording of the spec 
("more often then dayly", see 

  Date: Tue, 8 Aug 2000 16:29:26 +0200                                          
  From: Johannes Poehlmann <johannes@caldera.de>                                
  To: lsb-spec@lists.linuxbase.org                                              
  Subject: Clarification in LSB Spec chapter 17 (cron)[repost with patch]       
  Message-ID: <20000808162926.A11226@caldera.de>                                )

There are technical advantages of "cron snippets" over the
/etc.cron.daily directory: It is possible not to wake up
laptop hard disks every hour.

The debian patch which implements the "cron snippet" directory tries
to minimize unneded disk access in a way that is not availible for the
*/Hourly directory: If possible, it does not reread the "cron snippets"
directory. 

As it is possible (and we even do that) to put a link into the */Hourly
directory, cron has to check every time if the target of the link has
changed.

So not mandating the existence of a */Daily and so forcing 3rd party app
vendors to use the "cron snippet" directory directory saves cron from
spinning up the hard disk every hour.


-- 
     ______   ___      
    /  ___/__/  /                 Caldera (Deutschland) GmbH        
   /  /_/ _  / /__        Naegelsbachstr. 49c, 91052 Erlangen, Germany 
  /_____/_/ /____/            software developer / lsb project 
 ==== /____/ =====   Dipl. Inf. Johannes Poehlmann, mail: jhp@caldera.de
Caldera OpenLinux    phone: ++49 9131 7192 336, fax: ++49 9131 7192 399

----- End forwarded message -----

-- 
     ______   ___        
    /  ___/__/  /                 Caldera (Deutschland) GmbH          
   /  /_/ _  / /__        Naegelsbachstr. 49c, 91052 Erlangen, Germany 
  /_____/_/ /____/            software developer / lsb project 
 ==== /____/ =====   Dipl. Inf. Johannes Poehlmann, mail: jhp@caldera.de
Caldera OpenLinux    phone: ++49 9131 7192 336, fax: ++49 9131 7192 399



Reply to: