Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 261000

Summary: sys-process/cronbase - patch for run-crons to search /etc/cron.* recursively
Product: Gentoo Linux Reporter: Allen Brooker (AllenJB) <gentoo-bugs>
Component: [OLD] UnspecifiedAssignee: Cron Team <cron-bugs+disabled>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: pacho
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 169449    
Attachments: Patch to run-crons for recursive behaviour

Description Allen Brooker (AllenJB) 2009-03-02 22:40:17 UTC
A fairly simple patch that runs cron scripts under /etc/cron.* recursively. For example, I use this to keep the webstats scripts (where there's one for each virtual host) in a seperate directory - eg. /etc/cron.daily/webstats/allenjb.me.uk.
Comment 1 Allen Brooker (AllenJB) 2009-03-02 22:40:59 UTC
Created attachment 183723 [details, diff]
Patch to run-crons for recursive behaviour
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-05 21:37:07 UTC
Reassigning to cron herd.
Comment 3 SpanKY gentoo-dev 2015-07-21 09:39:34 UTC
i don't think this is a desirable feature, and i don't think any other distro or cron implementation supports this.  can you cite existing precedence here ?

keep in mind this current implementation can get hung up on infinite loops:
# cd /etc/cron.daily
# ln -s . oops