Not really, Guilherme. ANY output from any command executed under cron WILL
be outputed to the mail set on MAILTO variable.

On 1/22/08, Guilherme Amadio <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> On Tue, Jan 22, 2008 at 08:19:15AM -0800, Michael Higgins wrote:
> > I edit my crontab like sudo crontab -u mykhyggz -e
> >
> > At the top, is MAILTO="[EMAIL PROTECTED]"
> >
> > My user belongs to cron group: groups
> > wheel cron users mykhyggz
> >
> > Cron is running: top bn1|grep cron
> >  5068 root      18   0  3072  692  552 S  0.0  0.7   0:00.00 cron
> >
> > 15        08      *              *       *            echo hello world
> >
> > should have sent me an email with 'hello world' in the body at 8:15, or
> > so I believe, but didn't.
> >
> > What else can I check?
> >
>   I believe that the MAILTO variable mails output only when there are
>   errors, so try putting 'ls /idontexist' as a command and see if you
>   get anything. You may have to mail normal output by hand.
>
>   Cheers,
>
> --
> gentoo-user@lists.gentoo.org mailing list
>
>


-- 
Ricardo Saffi Marques
Laboratório de Administração e Segurança de Sistemas (LAS/IC)
Universidade Estadual de Campinas (UNICAMP)
Cell: +55 (19) 8128-0435
Skype: ricardo_saffi_marques
Website: http://www.rsaffi.com

Reply via email to