News for hackers. Stuff that matters.
Re:A cron pitfall that will probably snare you at least once... by technomancy on Monday June 27, 2011 @05:07PM (#2703019)
Another fun one is that if your file doesn't end in a newline, cron will silently ignore the last line! Lost a couple days of production data at my last job due to that "feature".
Re:A cron pitfall that will probably snare you at least once... by oasisbob on Monday June 27, 2011 @06:39PM (#2703270)
IIRC, OpenBSD has some similar issues with PF rules, and perhaps other configuration files as well.

I can't remember if it refuses to parse the file or ignores the last line, but it's not a fun thing to bump against.

Re:A cron pitfall that will probably snare you at least once... by there on Tuesday June 28, 2011 @12:29AM (#2704081)
what editor are you using that doesn't add a newline?