From owner-freebsd-questions Tue Mar 19 13:40:58 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mired.org (dsl-64-192-6-133.telocity.com [64.192.6.133]) by hub.freebsd.org (Postfix) with SMTP id A21BC37B404 for ; Tue, 19 Mar 2002 13:40:52 -0800 (PST) Received: (qmail 72961 invoked by uid 100); 19 Mar 2002 21:40:50 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15511.45151.32876.505187@guru.mired.org> Date: Tue, 19 Mar 2002 15:40:47 -0600 To: "Lee Mark Mercado" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: daily routine in /usr/local/etc/periodic/daily In-Reply-To: References: 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.49 (Python 2.2 on freebsd4) 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 In , Lee Mark Mercado typed: > it doesnt seem to be working for me :( > > i have this on my /usr/local/etc/periodic/daily/666.cvsup-ports > --------------------------------------------- > #!/bin/sh > > /usr/local/bin/cvsup -g -L 2 /etc/cvsupfile > echo "Ports had been updated" | mail lee > --------------------------------------------- > > but running it manually works fine : sh 666.cvsup-ports That's not how it's run by periodic. The file needs to be executable, so you can just do ./666.cvsup-ports. 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