From owner-freebsd-questions Mon Apr 29 12:56:25 2002 Delivered-To: freebsd-questions@freebsd.org Received: from humpty.finadmin.virginia.edu (humpty.finadmin.Virginia.EDU [128.143.87.245]) by hub.freebsd.org (Postfix) with ESMTP id D4D0A37B400 for ; Mon, 29 Apr 2002 12:56:19 -0700 (PDT) Received: (from mrg8n@localhost) by humpty.finadmin.virginia.edu (8.11.6/8.11.6) id g3TJuI245892; Mon, 29 Apr 2002 15:56:18 -0400 (EDT) (envelope-from mrg8n@virginia.edu) X-Authentication-Warning: humpty.finadmin.virginia.edu: mrg8n set sender to mrg8n@virginia.edu using -f Date: Mon, 29 Apr 2002 15:56:18 -0400 From: Mike Galvez To: "Christopher J. Umina" Cc: questions@FreeBSD.ORG Subject: Re: Cron can't exec /bin/sh Message-ID: <20020429155618.C44973@mail.virginia.edu> References: <00af01c1efcd$32f78160$0301a8c0@uminafamily.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <00af01c1efcd$32f78160$0301a8c0@uminafamily.com>; from FJU@Fritzilldo.com on Mon, Apr 29, 2002 at 03:28:33PM -0700 X-Operating-System: FreeBSD UNIX 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 On Mon, Apr 29, 2002 at 03:28:33PM -0700, Christopher J. Umina wrote: > hihi, > > Why can't cron exec /bin/sh? I got this e-mail as root..: > > cron: execl: couldn't exec `/bin/sh': Permission denied > > This is my crontab file: > > 0 0 * * 0 cvsup supfile Try using the full path to cvsup i.e.: /usr/local/bin/cvsup 00 15 * * 1-5 /usr/local/bin/cvsup supfile > > This is my supfile: > > *default tag=. > *default host=cvsup.freebsd.org > *default prefix=/usr > *default base=/usr/local/etc/cvsup > *default release=cvs delete use-rel-suffix compress > > ports-all > > Anybody see a problem? > > - Christopher J. Umina > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Michael Galvez Information Technology Specialist III E-Mail: mrg8n@nospam.virginia.edu University of Virginia Office: 434-982-2975 To the systems programmer, users and applications serve only to provide a test load. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message