If your cron job looks like this:

0,15,30,45 * * * * /u/tools/dltup.sh

then you want to change it to something like this:

0,15,30,45 * * * * /u/tools/dltup.sh > /tmp/dltup.out
2>&1

By default, the cron daemon will email stdout and
stderr of cronjobs to the user who runs the jobs,
unless you otherwise redirect it.

--- Rob Saul <[EMAIL PROTECTED]> wrote:
> On Thursday 06 June 2002 01:29, you wrote:
> > I got one cron job that is done every 15 minutes,
> so
> > every 15 minutes I get e-mails. How can I stop
> cron
> > from doing that?
> >
> 
> I think cron just emails you the output, if there is
> any.  If the job
> generates output you don't care about just redirect
> it to /dev/null.
> 
>       ~Rob
> 
> -- 
> Rob Saul.:|:[EMAIL PROTECTED]:|:.de recta
> non tolerandum sunt
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
>
https://listman.redhat.com/mailman/listinfo/redhat-list


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to