1 |
Hi! |
2 |
|
3 |
Ryan Reich wrote: |
4 |
> [...] |
5 |
> My issue: I just installed fcron and I have to say, I'm |
6 |
> a little disappointed with the kludgy mechanism for |
7 |
> implmenting: |
8 |
> |
9 |
> 1. easy configuration, meaning I don't have to run fcrontab |
10 |
> personally |
11 |
> |
12 |
> 2. /etc/cron.{hourly,daily,weekly,monthly} These are implmented |
13 |
> by some very silly-looking polling tricks which, even in |
14 |
> principle, will necessarily waste 83% (that's 5/6) of their |
15 |
> efforts and clutter the logs with useless and uninformative |
16 |
> messages. |
17 |
> [...] |
18 |
|
19 |
I just want to share my system-wide fcrontab: |
20 |
|
21 |
$ sudo fcrontab -l systab |
22 |
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
23 |
|
24 |
!nice(15) |
25 |
!noticenotrun(false) |
26 |
!serial(true) |
27 |
|
28 |
%hourly 0-30 run-parts --report /etc/cron.hourly |
29 |
%daily * * run-parts --report /etc/cron.daily |
30 |
%weekly * * run-parts --report /etc/cron.weekly |
31 |
%monthly * * * run-parts --report /etc/cron.monthly |
32 |
|
33 |
I use fcron's capabilities to execute the files in |
34 |
/etc/cron.{hourly,daily,weekly,monthly}/ once within each period. |
35 |
|
36 |
Daniel Schömer |
37 |
|
38 |
-- |
39 |
gentoo-dev@g.o mailing list |