From owner-freebsd-questions Thu Feb 14 12: 1:49 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smnolde.com (att-98-60-141.atl.mediaone.net [24.98.60.141]) by hub.freebsd.org (Postfix) with ESMTP id 21AAC37B423 for ; Thu, 14 Feb 2002 12:01:30 -0800 (PST) Received: from bsd ([192.168.10.7]) by smnolde.com with esmtp (Exim 3.30 #1) id 16bS4N-0001QU-00; Thu, 14 Feb 2002 15:01:27 -0500 Date: Thu, 14 Feb 2002 15:01:24 -0500 (EST) From: Scott Nolde To: Dan Langille Cc: Subject: Re: crontab entries need a CR/LF at the end In-Reply-To: <200202141955.g1EJt3k28638@lists.unixathome.org> Message-ID: <20020214145934.Y46360-100000@bsd.smnolde.com> 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 Thus sayeth the previous author: >Date: Thu, 14 Feb 2002 14:54:59 -0500 >From: Dan Langille >To: questions@freebsd.org >Cc: dan@langille.org >Subject: crontab entries need a CR/LF at the end > >Here's what I did: > >I edited ~/crontab and added an entry. That new line did not end in a >CR/LF (i.e. I didn't hit ENTER at the end of the line). Then I did a >crontab ~/crontab and watched /var/log/cron. The job was never run. > >I then modified the crontab to contain an ENTER at the end of that line, >and did another crontab ~/crontab. Then the job run. > >I've been bitten by this at least three times. And I've seen other get it >too. IMHO, it breaks POLA. Anyone agree? I can't see anything in the >man pages about this. I must also be a simple fix. >-- >Dan Langille >The FreeBSD Diary - http://freebsddiary.org/ - practical examples > Try "crontab -e" to edit your user's crontab. I'm not aware of using ~/crontab. Scott Nolde GPG Key 0xD869AB48 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message