Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Feb 2002 14:16:39 -0600
From:      jacks@sage-american.com
To:        dan@langille.org, questions@FreeBSD.ORG
Cc:        dan@langille.org
Subject:   Re: crontab entries need a CR/LF at the end
Message-ID:  <3.0.5.32.20020214141639.00e34990@mail.sage-american.com>
In-Reply-To: <200202141955.g1EJt3k28638@lists.unixathome.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.20020214141639.00e34990>