Re: How to stop cron from sending e-mails after a job is done?

2002-06-06 Thread Wolfgang Pfeiffer
On Jun 6, 2002, 13:37 (-0700) Rob Saul 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 th

Re: How to stop cron from sending e-mails after a job is done?

2002-06-06 Thread Mike Burger
Add "> /dev/null 2>&1" to the end of the cron job's entry. On Thu, 6 Jun 2002, Apolinaras Sinkevicius 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? > > __ > D

Re: How to stop cron from sending e-mails after a job is done?

2002-06-06 Thread Stephen Spalding
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 ot

Re: How to stop cron from sending e-mails after a job is done?

2002-06-06 Thread Rob Saul
On Thursday 06 June 2002 02:24, Apolinaras Sinkevicius wrote: > > How do I redirect output to /dev/null ? > say you have a crontab entry that looks like this: 0 1 * * * /usr/local/bin/snafu to redirect standard output of this to /dev/null it just needs to be changed to this: 0 1 * * *

Re: How to stop cron from sending e-mails after a job is done?

2002-06-06 Thread Matthew Boeckman
some-command >> /dev/null 2>&1 Apolinaras Sinkevicius wrote: > --- 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 t

Re: How to stop cron from sending e-mails after a job is done?

2002-06-06 Thread Apolinaras Sinkevicius
--- 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 t

Re: How to stop cron from sending e-mails after a job is done?

2002-06-06 Thread Rob Saul
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

How to stop cron from sending e-mails after a job is done?

2002-06-06 Thread Apolinaras Sinkevicius
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? __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com ___