Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Sep 2011 11:55:06 -0500
From:      Adam Vande More <amvandemore@gmail.com>
To:        Brett Glass <brett@lariat.net>
Cc:        questions@freebsd.org
Subject:   Re: "at" command and mail
Message-ID:  <CA%2BtpaK3pOo%2BzvHzrD-EdusWWA1VF4CokeFvLn-3qJvsFQ6xDAQ@mail.gmail.com>
In-Reply-To: <201109031639.KAA25689@lariat.net>
References:  <201109031639.KAA25689@lariat.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Sep 3, 2011 at 11:39 AM, Brett Glass <brett@lariat.net> wrote:

> I'm setting up a FreeBSD appliance that won't be running a mail daemon. I'd
> like the at(8) command to be there for scheduling of commands, but do not
> see any way to prevent it from trying to send mail after it executes a
> command. (There's not even a command line option that says "do not mail," or
> at least I can't find one.) Am I missing something, or does at(8) always
> expect to be able to send mail? If so, would it be worth implementing an
> atrun.conf configuration file that makes it optional and possibly sets other
> defaults for at(8)?
>

If you redirect the output from the command to /dev/null or other file, you
shouldn't recieve an email unless you've also specified -m.



-- 
Adam Vande More



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BtpaK3pOo%2BzvHzrD-EdusWWA1VF4CokeFvLn-3qJvsFQ6xDAQ>