Date: Mon, 29 Apr 2002 20:22:47 -0700 (PDT) From: Annelise Anderson <andrsn@andrsn.stanford.edu> To: Mike Galvez <mrg8n@virginia.edu> Cc: "Christopher J. Umina" <FJU@Fritzilldo.com>, questions@FreeBSD.ORG Subject: Re: Cron can't exec /bin/sh Message-ID: <Pine.BSF.4.10.10204292019570.25202-100000@andrsn.stanford.edu> In-Reply-To: <20020429155618.C44973@mail.virginia.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 29 Apr 2002, Mike Galvez wrote: > 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 Also if this is the system crontab (in /etc) you need to specify as the 6th field the user who is to run the command, i.e., in this case root. Annelise -- Annelise Anderson Author of: FreeBSD: An Open-Source Operating System for Your PC Available from: BSDmall.com and amazon.com Book Website: http://www.bittreepress.com/FreeBSD/introbook/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10204292019570.25202-100000>