From owner-freebsd-questions Tue Mar 19 9:23:59 2002 Delivered-To: freebsd-questions@freebsd.org Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.158]) by hub.freebsd.org (Postfix) with ESMTP id 7BFCE37B400 for ; Tue, 19 Mar 2002 09:23:53 -0800 (PST) Received: (from lowell@localhost) by be-well.ilk.org (8.11.6/8.11.6) id g2JHNru12788; Tue, 19 Mar 2002 12:23:53 -0500 (EST) (envelope-from lowell@world.std.com) X-Authentication-Warning: be-well.ilk.org: lowell set sender to lowell@world.std.com using -f To: freebsd-questions@freebsd.org Subject: Re: daily routine in /usr/local/etc/periodic/daily References: From: Lowell Gilbert Date: 19 Mar 2002 12:23:52 -0500 In-Reply-To: Message-ID: <44n0x4qxnb.fsf@be-well.ilk.org> Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 "Lee Mark Mercado" writes: > 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 ? Add a '.sh' on to the end of the file name. [and make sure its executable bit is set] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message