From owner-freebsd-questions Thu Feb 14 12:16:56 2002 Delivered-To: freebsd-questions@freebsd.org Received: from sage-american.com (sage-american.com [216.122.141.44]) by hub.freebsd.org (Postfix) with ESMTP id 81AB637B416 for ; Thu, 14 Feb 2002 12:16:51 -0800 (PST) Received: from SAGEONE (adsl-64-219-30-171.dsl.crchtx.swbell.net [64.219.30.171]) by sage-american.com (8.9.3/8.9.3) with SMTP id OAA00221; Thu, 14 Feb 2002 14:16:42 -0600 (CST) Message-Id: <3.0.5.32.20020214141639.00e34990@mail.sage-american.com> X-Sender: jacks@mail.sage-american.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Thu, 14 Feb 2002 14:16:39 -0600 To: dan@langille.org, questions@FreeBSD.ORG From: jacks@sage-american.com Subject: Re: crontab entries need a CR/LF at the end Cc: dan@langille.org In-Reply-To: <200202141955.g1EJt3k28638@lists.unixathome.org> 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 That way of running crontab (~/crontab) is a new one for me.... didn't know that would launch it. Usually to test a line, I place it timed to run in a minute or so... At 02:54 PM 2.14.2002 -0500, Dan Langille wrote: >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 > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > > Best regards, Jack L. Stone, Server Admin =================================================== Sage-American http://www.sage-american.com jacks@sage-american.com "My center is giving way, my right is in retreat; ....situation excellent! ....I shall attack!" =================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message