From owner-freebsd-questions@FreeBSD.ORG Tue Jul 17 03:39:32 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 925E016A401 for ; Tue, 17 Jul 2007 03:39:32 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.freebsd.org (Postfix) with ESMTP id 2836913C441 for ; Tue, 17 Jul 2007 03:39:31 +0000 (UTC) (envelope-from illoai@gmail.com) Received: by ug-out-1314.google.com with SMTP id o4so74560uge for ; Mon, 16 Jul 2007 20:39:31 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=aOMlmp0BxB0hMHH2OJ45zBHwSSHNbTZ6oLYVWMkgXNpxGFn1dDyvk1jqCkshj0hYYmQv+T3r3UU86/BxJjpcPfLTZezgcwMha4Iiiz6DSOZnFcYy/zoIcrHbD5/12umTORdjg6EPsRQV/iCn4tBUOHRtBd0XwSGnViUUOQ8IECY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=B/Etq8UqVWRSZKRg+VUtznWwJzVi4+43Y4thk1uiYoTZySo1ooVWioeqfrngUfbBfHrSGIveP50KRZOKxxo6ZhL6KlzRPV0H55Ewh5xnSwAxJCtNdMw43R3GgGP7tfvIKL/lKHQm7xxoyDDOQOV8bbFWfmye2CnjIDal7fhDlLE= Received: by 10.82.127.14 with SMTP id z14mr147buc.1184643570771; Mon, 16 Jul 2007 20:39:30 -0700 (PDT) Received: by 10.82.187.6 with HTTP; Mon, 16 Jul 2007 20:39:30 -0700 (PDT) Message-ID: Date: Mon, 16 Jul 2007 22:39:30 -0500 From: "illoai@gmail.com" To: "Olivier Regnier" In-Reply-To: <469BF81C.5020207@oregnier.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <469BF81C.5020207@oregnier.net> Cc: freebsd-questions@freebsd.org Subject: Re: Script with periodic.conf 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: Tue, 17 Jul 2007 03:39:32 -0000 On 16/07/07, Olivier Regnier wrote: > Hi everoyone, > > I have a script called 110.doc-update-csup to keep my documentation > up-to-date and he works well. In this script, i have these following > variables: > - weekly_doc_update_enable="YES" > - weekly_doc_update_country="us" > - weekly_doc_update_supfile="/usr/local/etc/cvsup/doc-supfile" > - weekly_doc_update_logdir="/var/log/sys-update.log" > > I have the same variables in my periodic.conf file in /etc/ directory. > If i move the file in /usr/local/etc/periodic/weekly/, cron execute the > script two times but if he is in /etc/periodic/weekly/ there are not > problems. What happened ? Do you give informations about this ? > Put the line: local_periodic="/usr/local/etc/periodic" in your /etc/periodic.conf or delete the "/usr/X11R6/etc/periodic" from the line: local_periodic="/usr/local/etc/periodic /usr/X11R6/etc/periodic" in your /etc/defaults/periodic.conf -- --