From owner-freebsd-questions@FreeBSD.ORG Mon Aug 4 21:12:49 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D01B1065670 for ; Mon, 4 Aug 2008 21:12:49 +0000 (UTC) (envelope-from fbsd06+YP=f930837b@mlists.homeunix.com) Received: from fallback-in1.mxes.net (fallback-out1.mxes.net [216.86.168.190]) by mx1.freebsd.org (Postfix) with ESMTP id 710C18FC13 for ; Mon, 4 Aug 2008 21:12:49 +0000 (UTC) (envelope-from fbsd06+YP=f930837b@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by fallback-in1.mxes.net (Postfix) with ESMTP id 6AAEA163DEE for ; Mon, 4 Aug 2008 17:01:39 -0400 (EDT) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 95E6323E49D for ; Mon, 4 Aug 2008 17:01:37 -0400 (EDT) Date: Mon, 4 Aug 2008 22:01:34 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20080804220134.339cb529@gumby.homeunix.com.> In-Reply-To: <489748B0.8050708@cyberleo.net> References: <489748B0.8050708@cyberleo.net> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Periodic scripts running twice X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2008 21:12:49 -0000 On Mon, 04 Aug 2008 13:21:36 -0500 CyberLeo Kitsana wrote: > Hi! > > For a while, I've noticed odd behavior with periodic scripts > installed by certain ports (portaudit) as well as ones I've penned > myself (corescan), in that they appear to be run twice in succession > every time. > > Base system scripts, and some add-on scripts (freshclam) are run only > once, even in the same periodic batch. > > Is there some end state the script is expected to be in to signal > periodic of a successful run? > > (Incl: Sample email, weekly.txt) > > Thanks! > Is this a long-standing problem? It sounds like you didn't fully complete the UPDATING instruction for the 20070519 xorg update, and /usr/local/etc/periodic is being access both directly and via the /usr/X11R6 symlink. Try adding local_periodic="/usr/local/etc/periodic" to /etc/periodic.conf