Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Feb 2002 15:01:24 -0500 (EST)
From:      Scott Nolde <scott@smnolde.com>
To:        Dan Langille <dan@langille.org>
Cc:        <questions@freebsd.org>
Subject:   Re: crontab entries need a CR/LF at the end
Message-ID:  <20020214145934.Y46360-100000@bsd.smnolde.com>
In-Reply-To: <200202141955.g1EJt3k28638@lists.unixathome.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Thus sayeth the previous author:

 >Date: Thu, 14 Feb 2002 14:54:59 -0500
 >From: Dan Langille <dan@langille.org>
 >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




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