From owner-freebsd-questions@FreeBSD.ORG Thu Jul 3 04:40:33 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5AB0337B401 for ; Thu, 3 Jul 2003 04:40:33 -0700 (PDT) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8742344025 for ; Thu, 3 Jul 2003 04:40:32 -0700 (PDT) (envelope-from papalia@comcast.net) Received: from denali.comcast.net (pcp02630376pcs.univde01.de.comcast.net[68.82.79.100](misconfigured sender)) by comcast.net (sccrmhc12) with SMTP id <2003070311403101200dmrp3e> (Authid: papalia); Thu, 3 Jul 2003 11:40:31 +0000 Message-Id: <5.2.0.9.0.20030703073556.02a8b0e0@mail.comcast.net> X-Sender: papalia@mail.comcast.net X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Thu, 03 Jul 2003 07:38:58 -0400 To: Andrew Boothman From: John In-Reply-To: <200307030403.19547.andrew@cream.org> References: <5.2.0.9.0.20030702201023.00afff90@mail.udel.edu> <5.2.0.9.0.20030702201023.00afff90@mail.udel.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed cc: freebsd-questions@freebsd.org Subject: Re: cron executes entries twice X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2003 11:40:33 -0000 At 04:03 AM 7/3/2003, Andrew Boothman wrote: >On Thursday 03 July 2003 1:23 am, John wrote: > > Hi All, > > > > For quite some time now my system has been executing all entries in the > > crontab twice, instead of the expected once. This happens most obviously > > for the periodic scripts, but also on some scripts that I added for > > nightly, weekly, or runs at reboot. This started not long after a > > buildworld upgrade from one 4.x to another 4.x. Which upgrade, I don't > > recall unfortunately. The executions of the scripts appear to occur within > > minutes of each other, if not seconds. > >Hmmm - that is strange. > >My only thought off-hand would be that someone has managed to install >/etc/crontab as a personal crontab? > >Try 'crontab -l' as root and any other possible users to see if they have a >crontab that is similar to the /etc/crontab > >Just a thought...... > >Andrew Your suggestion was dead on - I'm not sure why I kept overlooking this. For some reason the entire contents of /etc/crontab were duplicated in root's crontab. I got rid of it last night, and lo - only one run of the scripts. Thanks very much for the help! -John