1 |
On 7/8/07, Steve Long <slong@××××××××××××××××××.uk> wrote: |
2 |
> Mike Frysinger wrote: |
3 |
> > run-crons is a default helper for crons that just works. if you want to |
4 |
> > not use it but opt for anacron instead, nothing is stopping you from doing |
5 |
> > exactly that. |
6 |
> |
7 |
> I think Mr Frysinger is grudgingly conceding the point, so can we have some |
8 |
> stats eg on CPU time saved blah blah blah? But it'd be really sweet if you |
9 |
> could post em on the forums, as the technical discussion seems over for |
10 |
> now. (At least to this friendly-coder ;-)) |
11 |
> |
12 |
> ie: market it to the user base please, not the devs ;) |
13 |
> |
14 |
> Please be sure that this works from a clean install and test it on a live |
15 |
> box as the only system-- for a period of at least a week, as you collect |
16 |
> sample data. A write up of how to make it work would be ideal for |
17 |
> Documentation, Tips & Tricks imo. |
18 |
> |
19 |
> "2 of 5 - recall to pub" *bzzt*.. click. |
20 |
|
21 |
Well, as you can tell from the fact that I use fcron, this point is of |
22 |
academic interest to me. It's also secondary to my main concern in |
23 |
this thread, which is getting Gentoo to use incron; right now I'm just |
24 |
waiting for people to comment on the ebuild I posted yesterday. |
25 |
|
26 |
In my opinion, this is really an issue for the developers, and indeed |
27 |
I think Mike Frysinger agrees with that since he views the periodic |
28 |
scripts (now handled by run-crons) to be something that should "just |
29 |
work", i.e. be beneath the notice of the user. Replacing it with an |
30 |
anacron setup that "just works" should be equivalent from the user's |
31 |
perspective. |
32 |
|
33 |
After all, how much of Gentoo is carefully preconfigured to "just |
34 |
work" out of the box? Until I installed fcron, the file I saw most |
35 |
often in /etc was make.conf. It's one thing to have to configure cron |
36 |
to do your daily chores; that's necessary, of course, since only you |
37 |
can know what you want done (but note that Gentoo already includes |
38 |
daily makewhatis and updatedb jobs, which are the two big ones). It's |
39 |
another to have anacron set up just to do the generalized task of |
40 |
handling this; the user doesn't even need to know it's there. Just |
41 |
like they don't know that run-crons is there. |
42 |
|
43 |
As for CPU savings: are you kidding? Right now, run-crons is run |
44 |
every ten minutes, and anacron would be run on boot and every 24 hours |
45 |
thereafter. The advantages are clear. I don't think the users are |
46 |
invested in the particular implementation at all; since run-crons is, |
47 |
as Mr. Frysinger wrote in his original response to me, a "Gentooism", |
48 |
that question is really one for the developers. |
49 |
|
50 |
To be more pointed about it, it is not even my problem to justify |
51 |
using anacron, since this is the canonical answer to the question |
52 |
which Gentoo answers by using a home-grown script "run-crons". |
53 |
Whoever implemented run-crons should justify reinventing the wheel and |
54 |
explain how anacron's failings prevent it from working as intended |
55 |
(and why, at the same time, Gentoo also recommends installing it, or |
56 |
using fcron). I'm just here to ask them why. |
57 |
|
58 |
-- |
59 |
Ryan Reich |
60 |
-- |
61 |
gentoo-dev@g.o mailing list |