From owner-freebsd-questions Sat Jan 26 11:55:51 2002 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (dsl-64-192-6-133.telocity.com [64.192.6.133]) by hub.freebsd.org (Postfix) with SMTP id EBB6137B402 for ; Sat, 26 Jan 2002 11:55:46 -0800 (PST) Received: (qmail 54127 invoked by uid 100); 26 Jan 2002 19:55:45 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15443.2496.918511.507772@guru.mired.org> Date: Sat, 26 Jan 2002 13:55:44 -0600 To: Christian Sauer Cc: questions@freebsd.org Subject: Re: question about /etc/periodic.conf In-Reply-To: <113003757@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: "Mike Meyer" X-Delivery-Agent: TMDA/0.44 (Python 2.2; freebsd-4.4-STABLE-i386) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Christian Sauer types: > Hello all, > > I recently wrote a shell script that does a cvsup for my ports tree, and > I put the script in the /etc/periodic/weekly folder. I decided to > follow suit with the other periodic scripts and added to the top of mine: > > if [ -r /etc/defaults/periodic.conf ] > then > . /etc/defaults/periodic.conf > source_periodic_confs > fi > > so I could control my script through the conf files. Instead of editing > any of the confs in /etc/defaults/, I created /etc/periodic.conf which > /etc/defaults/periodic.conf lists as a local override file. I only put > the options for my script in /etc/periodic.conf and left everything else > to run on the defaults. > > problem is, now when the periodic jobs kick off, I keep getting "YES: > not found" listed in the log files that are mailed to me. Your /etc/periodic.conf file is broken, and trying to run the YES command. Without seeing the file, I can't say more. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message