From owner-freebsd-questions@FreeBSD.ORG Tue Jul 17 06:38:10 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 2625216A400 for ; Tue, 17 Jul 2007 06:38:10 +0000 (UTC) (envelope-from oregnier@oregnier.net) Received: from 42.mail-out.ovh.net (42.mail-out.ovh.net [213.251.189.42]) by mx1.freebsd.org (Postfix) with SMTP id 7AD6D13C49D for ; Tue, 17 Jul 2007 06:38:09 +0000 (UTC) (envelope-from oregnier@oregnier.net) Received: (qmail 19535 invoked by uid 503); 17 Jul 2007 06:38:23 -0000 Received: from b6.ovh.net (HELO mail92.ha.ovh.net) (213.186.33.56) by 42.mail-out.ovh.net with SMTP; 17 Jul 2007 06:38:23 -0000 Received: from b0.ovh.net (HELO queue-out) (213.186.33.50) by b0.ovh.net with SMTP; 17 Jul 2007 06:38:12 -0000 Received: from mac76-2-82-241-6-173.fbx.proxad.net (HELO ?127.0.0.1?) (postmaster@oregnier.net@82.241.6.173) by ns0.ovh.net with SMTP; 17 Jul 2007 06:38:11 -0000 Message-ID: <469C63CF.3030507@oregnier.net> Date: Tue, 17 Jul 2007 08:38:07 +0200 From: Olivier Regnier User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: "illoai@gmail.com" References: <469BF81C.5020207@oregnier.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Ovh-Remote: 82.241.6.173 (mac76-2-82-241-6-173.fbx.proxad.net) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Spam-Check: DONE|H 0.5/N 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 06:38:10 -0000 illoai@gmail.com a écrit : > 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 > Hi, thank you very much, it's perfect. Bye :)