From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=0.5 required=5.0 tests=DATE_IN_PAST_06_12, DMARC_MISSING,FREEMAIL_FROM,INVALID_DATE,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=no autolearn_force=no version=4.0.0 Received: from mailout04.sul.t-online.com ([194.25.134.18]) by cvs.gentoo.org with esmtp (Exim 3.22 #1) id 14zbdc-0004H6-00 for gentoo-dev@gentoo.org; Tue, 15 May 2001 04:01:08 -0600 Received: from fwd05.sul.t-online.de by mailout04.sul.t-online.com with smtp id 14zbdQ-0003eQ-08; Tue, 15 May 2001 12:00:56 +0200 Received: from helios.bagwan (320095285153-0001@[217.80.39.130]) by fwd05.sul.t-online.com with smtp id 14zbdV-0tCQhUC; Tue, 15 May 2001 12:01:01 +0200 Received: (qmail 1832 invoked by uid 0); 15 May 2001 12:44:04 -0000 Received: from sadchitananda2.bagwan (HELO gentoo.org) (achim@192.168.2.1) by helios.bagwan with SMTP; 15 May 2001 12:44:04 -0000 Message-ID: <3B00F796.EC264B7C@gentoo.org> From: AGottinger@t-online.de (Achim Gottinger) X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.14 i686) X-Accept-Language: en MIME-Version: 1.0 To: gentoo-dev@gentoo.org Subject: Re: [gentoo-dev] cron References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Sender: 320095285153-0001@t-dialin.net Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0 Precedence: bulk Reply-To: gentoo-dev@gentoo.org X-Reply-To: achim@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux development list List-Unsubscribe: , List-Archive: Date: Tue May 15 04:02:02 2001 X-Original-Date: Tue, 15 May 2001 11:32:07 +0200 X-Archives-Salt: ddc703cc-2151-418b-90ac-4bbd368bb6fc X-Archives-Hash: 92ec01c745a4adb6799d14bafb5c81dc Bryce Porter wrote: > > Hi everyone... > > I've been having serious problems with cron. It seems that the default > /etc/crontab is not getting used by crontab. After an initial install, I > ran crontab -e and it was blank, but /etc/crontab had many things in it. > Yeah, dcron ignores /etc/crontab, you must run crontab /etc/crontab to get it working. > After putting things into the crontab with crontab -e it works, but I have > it setup to run something once every 15 minutes and it runs things once > every 5 minutes instead (according to the docs and #linpeople on > openprojects.net, the contents are correct). > > Also, the standard ways of changing the editor invoked with crontab -e do > not work. I tried "export EDITOR=joe" and "export VISUAL=joe" but crontab > -e still failed to run joe instead of vi. I then resorted to moving > /usr/bin/vi to /usr/bin/vi-old and ln -s /usr/bin/joe /usr/bin/vi and then > it STILL tries to invoke vi, but it fails saying "Couldn't open > '/usr/lib/virc'". dcron ignores those variables. > > Alot of people suggested I switch to vixiecron instead of dcron, because > of thier previous experiences with dcron. I was told vixie > wouldn't have these problems. Hrm, you can try the vcron package if you prefere vixicron. But there is no init.d script for that cron at the moment. You can copy dcron to cron and replace /usr/sbin/crond with /usr/bin/cron and things should work. Make sure you run rc-update del svc-dcron before you activate the new cron init script. > > I was wondering if there was a way we could switch the default > implementation of cron to vixie so that these problems could be fixed? I plan to make all three cron packages usable (fcron,drcon and vcron). Daniel preferes dcron because it is the simplest one so it will still be the default. bye achim~ > > Has anyone else experienced the same problems? > > Thanks for your time. > > Bryce Porter > BP Web Design > bporter@advancenet.net > x86@gentoo.org > > _______________________________________________ > gentoo-dev mailing list > gentoo-dev@gentoo.org > http://www.gentoo.org/mailman/listinfo/gentoo-dev