From owner-freebsd-questions@FreeBSD.ORG Sat May 22 12:00:42 2004 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 4ED1016A4CF for ; Sat, 22 May 2004 12:00:42 -0700 (PDT) Received: from tpa6.isomedia.com (mailout.isomedia.com [207.115.64.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21D6343D2F for ; Sat, 22 May 2004 12:00:42 -0700 (PDT) (envelope-from chip@wiegand.org) Received: from tpa6.isomedia.com (localhost.localdomain [127.0.0.1]) by tpa6.isomedia.com (Postfix) with ESMTP id 58F1E1C8590; Sat, 22 May 2004 11:59:50 -0700 (PDT) Received: from tpa6.isomedia.com ([127.0.0.1])port 10024) with ESMTP id 01695-07; Sat, 22 May 2004 11:59:50 -0700 (PDT) Received: from pioneernet.net (mail.pioneernet.net [207.115.64.224]) by tpa6.isomedia.com (Postfix) with ESMTP id E7E8D1C845B; Sat, 22 May 2004 11:59:49 -0700 (PDT) Received: from wiegand.org [66.114.152.128] by pioneernet.net with ESMTP (SMTPD32-6.06) id A44285EF007C; Sat, 22 May 2004 12:04:34 -0700 Message-ID: <40AFA388.7080006@wiegand.org> Date: Sat, 22 May 2004 12:01:28 -0700 From: chip User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bill Moran References: <20040521141741.53444.qmail@web40403.mail.yahoo.com> <20040522082220.I29103@grond.sourballs.org> <40AF65C5.1060506@potentialtech.com> In-Reply-To: <40AF65C5.1060506@potentialtech.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at isomedia.com X-Spam-Status: No, hits=0.0 tagged_above=-999.0 required=999.0 tests= X-Spam-Level: X-MailScanner-SpamCheck: LEVEL= cc: questions@freebsd.org cc: carvin5string cc: David Fleck Subject: Re: cron can't find root or operator X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 May 2004 19:00:42 -0000 Thanks for all the help. I like the changes so far. What about specifically mentioning in the Handbook chapter that when a user runs the command crontab crontab the user should do this in their own home directory. My problem was I ran it in the /etc directory, not knowing any better, probably becuase that bit wasn't mentioned in the Handbook, or if I recall correctly, even the FAQ. The Handbook text states "Let us take a look at the /etc/crontab file (the system crontab):" Followed by the section on the user crontab and the warning paragraph, but no mention of doing this in the user directory, not /etc. So, now I am trying to run - crontab crontab in my non-root user directory, as the non-root user, and it fails with this- "crontab: crontab: No such file or directory" I tried - crontab -u chip crontab -e (with and without the -e) also and it failed with the same message. So I then su'd and tried again and got the same message again. The I tried - /etc/crontab -u chip crontab (with and without the -e) and get permission denied, as root. I am running 5.1-Release, and a standard default install. Regards, Chip Bill Moran wrote: > David Fleck wrote: > >> If you already have a file written in the proper format, you can load it >> as your crontab by specifying 'crontab {filename}'. (That's what section >> 6.6.1 in the handbook is trying to say. Unfortunately, it is not at all >> clear on this.) > > > There was an outstanding PR on this ... I made a few additions, and I think > the handbook will explain this much better now. Sounds like a committer is > going to get this into the tree within the next few days. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=docs%2F66963 >