From owner-freebsd-questions@FreeBSD.ORG Tue Jul 1 07:25:54 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6FD2137B404 for ; Tue, 1 Jul 2003 07:25:54 -0700 (PDT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7606044001 for ; Tue, 1 Jul 2003 07:25:53 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (be-well.no-ip.com[24.147.188.198]) by comcast.net (rwcrmhc12) with ESMTP id <2003070114255201400qc47he>; Tue, 1 Jul 2003 14:25:52 +0000 Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198] (may be forged)) by be-well.ilk.org (8.12.9/8.12.9) with ESMTP id h61EPpsi004342; Tue, 1 Jul 2003 10:25:51 -0400 (EDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.9/8.12.6/Submit) id h61EPaju004339; Tue, 1 Jul 2003 10:25:36 -0400 (EDT) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f Sender: lowell@be-well.no-ip.com To: ico References: <20030629082956.GA1077@beke.info> From: Lowell Gilbert Date: 01 Jul 2003 10:25:35 -0400 In-Reply-To: <20030629082956.GA1077@beke.info> Message-ID: <44fzlq8gtc.fsf@be-well.ilk.org> Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: crontab : exec, permission denied X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jul 2003 14:25:54 -0000 ico writes: > I added to /etc/crontab this line: > > */5 * * * * user1 /usr/local/bin/getmail \ > -r /usr/home/user1/.getmail/getmailrc > > > I wanted getmail to pick-up mail for user user1. Result is error: > exec: :permission denied > > $ls -l /usr/local/bin/getmail > r-xr-xr-x 1 root wheel 328 Jun 22 07:41 /usr/local/bin/getmail* > > I also tried to create user1's crontab ( su user1; crontab -e ) . Result is the > same. What's wrong? Does it work from the command line? The following works fine for me from my user crontab: 6 6 * * 1-7 /usr/local/bin/fetchmail -s