Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Sep 2011 13:15:30 -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%2BtpaK0SCZkpNqqb96vzfW9SPD=W0Dd8A57D-96_bE1K1tLCSg@mail.gmail.com>
In-Reply-To: <201109031806.MAA26269@lariat.net>
References:  <201109031639.KAA25689@lariat.net> <CA%2BtpaK3pOo%2BzvHzrD-EdusWWA1VF4CokeFvLn-3qJvsFQ6xDAQ@mail.gmail.com> <201109031806.MAA26269@lariat.net>

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

> 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.
>
> True. But that's awkward, and if you have a job that runs more than once,
> it'd be convenient to be able to keep the output from each run.
>

That's easy, just put a timestamp in the filename:

echo foo > `date +\%Y\%m\%d`.txt

-- 
Adam Vande More



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BtpaK0SCZkpNqqb96vzfW9SPD=W0Dd8A57D-96_bE1K1tLCSg>