From owner-freebsd-questions Tue Mar 19 9: 4: 6 2002 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f151.pav1.hotmail.com [64.4.31.151]) by hub.freebsd.org (Postfix) with ESMTP id ED3C737B402 for ; Tue, 19 Mar 2002 09:04:00 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 19 Mar 2002 09:04:00 -0800 Received: from 66.75.100.186 by pv1fd.pav1.hotmail.msn.com with HTTP; Tue, 19 Mar 2002 17:04:00 GMT X-Originating-IP: [66.75.100.186] From: "Lee Mark Mercado" To: mwm@mired.org, freebsd-questions@FreeBSD.ORG Subject: Re: daily routine in /usr/local/etc/periodic/daily Date: Tue, 19 Mar 2002 09:04:00 -0800 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 19 Mar 2002 17:04:00.0669 (UTC) FILETIME=[10B154D0:01C1CF68] 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 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 so i assume my cron/periodic is not reading that directory. any idea of whats wrong ? i will greatly appreciate any help. thx. -Lee ----Original Message Follows---- From: Mike Meyer To: "Lee Mark Mercado" CC: freebsd-questions@FreeBSD.ORG Subject: Re: daily routine in /usr/local/etc/periodic/daily Date: Tue, 19 Mar 2002 03:31:12 -0600 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. _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message