From owner-freebsd-questions Tue Mar 19 1:31:15 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 2B02937B400 for ; Tue, 19 Mar 2002 01:31:13 -0800 (PST) Received: (qmail 62405 invoked by uid 100); 19 Mar 2002 09:31:12 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15511.1376.184002.422094@guru.mired.org> Date: Tue, 19 Mar 2002 03:31:12 -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: > i have this file to run every night, so i put it in > /usr/local/etc/periodic/daily ... isnt it that the cron should run it also > the way it runs /etc/periodic/daily files ? Yes. Make sure the file name has the proper format of a 3-digit number, dot, then the name and that it's executable. > the file is csvupfile that updates the ports collection. Also, how will i > know if the cron did run the file and updated the ports collection ? By what it outputs. Unless you redirect it, the output will show up in the output of the daily periodic run. 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