From: "Ricardo Saffi Marques" <saffi@las.ic.unicamp.br>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: cron and ssmtp
Date: Tue, 22 Jan 2008 14:40:06 -0200 [thread overview]
Message-ID: <3b5772b30801220840j494a9373pc3d614900d903350@mail.gmail.com> (raw)
In-Reply-To: <20080122163427.GA10863@vaio>
[-- Attachment #1: Type: text/plain, Size: 1279 bytes --]
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 <guilherme.amadio@gmail.com> 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@isp.com"
> >
> > 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
[-- Attachment #2: Type: text/html, Size: 2215 bytes --]
next prev parent reply other threads:[~2008-01-22 16:42 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-22 15:36 [gentoo-user] cron and ssmtp Michael Higgins
2008-01-22 15:48 ` Neil Bothwick
2008-01-22 16:18 ` Ricardo Saffi Marques
2008-01-22 16:18 ` Ricardo Saffi Marques
2008-01-22 16:19 ` Michael Higgins
2008-01-22 16:32 ` Greg Bowser
2008-01-22 16:34 ` [gentoo-user] " Guilherme Amadio
2008-01-22 16:40 ` Ricardo Saffi Marques [this message]
2008-01-22 16:50 ` Ricardo Saffi Marques
2008-01-22 16:37 ` [gentoo-user] " Ricardo Saffi Marques
2008-01-22 21:37 ` Jan Seeger
2008-01-23 0:52 ` Michael Higgins
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3b5772b30801220840j494a9373pc3d614900d903350@mail.gmail.com \
--to=saffi@las.ic.unicamp.br \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox