on Tue, Dec 11, 2001 at 09:33:59AM +1100, [EMAIL PROTECTED] ([EMAIL PROTECTED])
wrote:
>
> >> Hi
> >>
> >> I make backups using a cron job and I set MAILTO=""
> >> Can I configure cron to mail me
> >> a) *only* when there were errors
> >> b) email only STDERR (not STDOUT)
>
> Why not just remove
Hi,
Alec ([EMAIL PROTECTED]) wrote:
>
> I make backups using a cron job and I set MAILTO=""
> Can I configure cron to mail me
> a) *only* when there were errors
> b) email only STDERR (not STDOUT)
You could simply supply a valid MAILTO and send STDOUT to /dev/null
like so:
MAILTO=whoever
* * *
DvB wrote:
Alec <[EMAIL PROTECTED]> writes:
(...)
Can I configure cron to mail me
a) *only* when there were errors
b) email only STDERR (not STDOUT)
(...)
I assume you're asking about some type of special cron functionality
which e-mails automatically... however, I would probably do this
>> Hi
>>
>> I make backups using a cron job and I set MAILTO=""
>> Can I configure cron to mail me
>> a) *only* when there were errors
>> b) email only STDERR (not STDOUT)
Why not just remove the MAILTO line, and redirect
standard output from the backup to /dev/null. Presuming
the application on
DvB <[EMAIL PROTECTED]> writes:
> Alec <[EMAIL PROTECTED]> writes:
>
> > Hi
> >
> > I make backups using a cron job and I set MAILTO=""
> > Can I configure cron to mail me
> > a) *only* when there were errors
> > b) email only STDERR (not STDOUT)
> >
>
>
> I assume you're asking about some ty
Alec <[EMAIL PROTECTED]> writes:
> Hi
>
> I make backups using a cron job and I set MAILTO=""
> Can I configure cron to mail me
> a) *only* when there were errors
> b) email only STDERR (not STDOUT)
>
I assume you're asking about some type of special cron functionality
which e-mails automatica
6 matches
Mail list logo