cron abuse

Brooks Davis brooks at one-eyed-alien.net
Sun Sep 3 10:34:57 PDT 2006


On Sun, Sep 03, 2006 at 11:57:44AM -0500, Don Wilde wrote:
> On 9/3/06, David Wolfskill <david at catwhisker.org> wrote:
> >On Sun, Sep 03, 2006 at 11:43:01AM -0500, Don Wilde wrote:
> >> ...
> >> Thanks for taking the time to answer, David.
> >
> >Sure thing.
> >
> >> Yes, I see that. I'm reinstalling the old /etc/crontab back into
> >> /etc/crontab.
> >
> >OK.
> >
> >> This is what's driving me nuts. Why would it be acting as though it's
> >> a user crontab?
> >
> >I doubt that it is -- more likely, a copy of /etc/crontab was installed
> >as a "user crontab" -- go check /var/cron/tabs.
> >
> Yes, it did exactly that. Will removing the /var/cron/tabs entry make
> everything Just Work again?

Yes or run "crontab -e" and delete everything in the editor window
before saving.

One good thing about your problem is it reminded me I'd forgotten to MFC
the anti foot shooting measure I added a while back which causes crontab
to refuse to load /etc/crontab as a user crontab.  It doesn't try very
hard, but it does prevent the most common error.

-- Brooks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060903/f6bbde5d/attachment.pgp


More information about the freebsd-stable mailing list