From owner-freebsd-current Tue May 2 21:22:11 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id VAA28335 for current-outgoing; Tue, 2 May 1995 21:22:11 -0700 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id VAA28325 for ; Tue, 2 May 1995 21:22:01 -0700 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.11/8.6.9) id VAA03841; Tue, 2 May 1995 21:19:14 -0700 From: "Rodney W. Grimes" Message-Id: <199505030419.VAA03841@gndrsh.aac.dev.com> Subject: Re: problems with cron... To: smace@metal-mail.neosoft.com (Scott Mace) Date: Tue, 2 May 1995 21:19:13 -0700 (PDT) Cc: current@FreeBSD.org In-Reply-To: <199505030412.WAA01404@metal.ops.neosoft.com> from "Scott Mace" at May 2, 95 10:12:49 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 717 Sender: current-owner@FreeBSD.org Precedence: bulk > > > Can someone test to see if crontab -e works? > > I did a > > crontab -e > * * * * * root /bin/ls Now I know what your problem is, crontab -e when logged in as root edit's /var/cron/tabs/root. Files in /var/cron *DO NOT* take a user name field!! Only /etc/crontab does, and you use vi or any other editor to change it, not crontab -e!!!! > and then: > > crontab -e > > and deleted it > > but it kept on running once a minute CHeck that /var/cron/tabs/root is empty, rm it since you probably don't want one there anyway, kill and restart cron. -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD