Gentoo Archives: gentoo-dev

From: AGottinger@t-online.de (Achim Gottinger)
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] cron
Date: Tue, 15 May 2001 04:01:08
Message-Id: 3B00F796.EC264B7C@gentoo.org
In Reply to: [gentoo-dev] cron by Bryce Porter
1 Bryce Porter wrote:
2 >
3 > Hi everyone...
4 >
5 > I've been having serious problems with cron. It seems that the default
6 > /etc/crontab is not getting used by crontab. After an initial install, I
7 > ran crontab -e and it was blank, but /etc/crontab had many things in it.
8 >
9 Yeah, dcron ignores /etc/crontab, you must run crontab /etc/crontab to
10 get it working.
11
12 > After putting things into the crontab with crontab -e it works, but I have
13 > it setup to run something once every 15 minutes and it runs things once
14 > every 5 minutes instead (according to the docs and #linpeople on
15 > openprojects.net, the contents are correct).
16 >
17 > Also, the standard ways of changing the editor invoked with crontab -e do
18 > not work. I tried "export EDITOR=joe" and "export VISUAL=joe" but crontab
19 > -e still failed to run joe instead of vi. I then resorted to moving
20 > /usr/bin/vi to /usr/bin/vi-old and ln -s /usr/bin/joe /usr/bin/vi and then
21 > it STILL tries to invoke vi, but it fails saying "Couldn't open
22 > '/usr/lib/virc'".
23 dcron ignores those variables.
24 >
25 > Alot of people suggested I switch to vixiecron instead of dcron, because
26 > of thier previous experiences with dcron. I was told vixie
27 > wouldn't have these problems.
28
29 Hrm, you can try the vcron package if you prefere vixicron. But there is
30 no init.d script for that cron at the moment.
31 You can copy dcron to cron and replace /usr/sbin/crond with
32 /usr/bin/cron and things should work. Make sure you run rc-update del
33 svc-dcron
34 before you activate the new cron init script.
35 >
36 > I was wondering if there was a way we could switch the default
37 > implementation of cron to vixie so that these problems could be fixed?
38
39 I plan to make all three cron packages usable (fcron,drcon and vcron).
40 Daniel preferes dcron because it is the simplest one so
41 it will still be the default.
42
43 bye achim~
44
45 >
46 > Has anyone else experienced the same problems?
47 >
48 > Thanks for your time.
49 >
50 > Bryce Porter
51 > BP Web Design
52 > bporter@××××××××××.net
53 > x86@g.o
54 >
55 > _______________________________________________
56 > gentoo-dev mailing list
57 > gentoo-dev@g.o
58 > http://www.gentoo.org/mailman/listinfo/gentoo-dev