Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261000 - sys-process/cronbase - patch for run-crons to search /etc/cron.* recursively
Summary: sys-process/cronbase - patch for run-crons to search /etc/cron.* recursively
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Cron Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 169449
  Show dependency tree
 
Reported: 2009-03-02 22:40 UTC by Allen Brooker (AllenJB)
Modified: 2015-07-21 09:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to run-crons for recursive behaviour (run-crons-recursive.patch,819 bytes, patch)
2009-03-02 22:40 UTC, Allen Brooker (AllenJB)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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