Re: crontab $MAILTO question

2001-12-11 Thread Karsten M. Self
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

Re: crontab $MAILTO question

2001-12-11 Thread Gordon Fraser
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 * * *

Re: crontab $MAILTO question

2001-12-10 Thread Carlos Sousa
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

RE: crontab $MAILTO question

2001-12-10 Thread KenrickC
>> 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

Re: crontab $MAILTO question

2001-12-10 Thread DvB
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

Re: crontab $MAILTO question

2001-12-10 Thread DvB
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