Skip site navigation (1)Skip section navigation (2)
Date:      05 Oct 2005 07:27:44 -0400
From:      Lowell Gilbert <freebsd-stable-local@be-well.ilk.org>
To:        Erald Troja <etroja@albunix.org>,  freebsd-stable@freebsd.org
Subject:   Re: cron notifications
Message-ID:  <44y858p5jj.fsf@be-well.ilk.org>
In-Reply-To: <43436264.8040806@daleco.biz>
References:  <Pine.LNX.4.44.0510041359490.21547-100000@moon.albunix.org> <43436264.8040806@daleco.biz>

next in thread | previous in thread | raw e-mail | index | archive | help
Kevin Kinsey <kdk@daleco.biz> writes:

> Erald Troja wrote:
> 
> >I'm having issues getting cronjob notifications.
> >
> > probably a misconfig. i'm fairly new to freebsd, comming from a
> > linux platform.
> >
> >
> 
> <snip snip snip>
> 
> cron Just Works.  `crontab -l` lists your crontab file (basically
> just like you're running `cat` on the file.  `crontab -e` opens
> $EDITOR on the file.
> 
> Nothing new there, I'd think, from Linux.  You mention
> a web form ... are we sure it's implemented correctly?

That sounds right.  I believe that most, if not all, Linux
distributions use the same (Paul Vixie) cron that FreeBSD does.
Different versions, maybe.  The source of the mails is the right
question, I think.

> I guess the question I'd ask in return, (assuming I even
> found what yours was), is "do you get any mail from the
> system, ever?"

And the next question would be "can you get a simpler cron job to mail
output"?  I used "ls $HOME" as a job on my person crontab, with MAILTO
set to another machine, and the output showed up there as I expected.

Be well.



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