Re: Suppress email output of crontab job
- From: "Jack B. Pollack" <N@xxxxxxxxxx>
- Date: Thu, 14 Aug 2008 18:11:10 -0400
"Michael Vilain" <vilain@xxxxxxxxxxxxx> wrote in message
news:vilain-E8020C.12313314082008@xxxxxxxxxxxxxxxxxxxxxxxxxxx
In article <g81voi$roj$1$8302bc10@xxxxxxxxxxxxxxxx>,denied in
Martin Smith <mjs01@xxxxxxxxxxxxxxxxxx> wrote:
Michael Vilain wrote:
In article <tuSdnR1dSqC1uDnVnZ2dnUVZ_tHinZ2d@xxxxxxxxxxxxx>,
"Jack B. Pollack" <N@xxxxxxxxxx> wrote:
I am trying to suppress the emailing of a particular crontab job.
When I try to redirect the output to /dev/null I get a permission
the email message.
How can I suppress the emailing of this job? I dont want to change
file/folder permissions to do it.
Thanks
AFAIK, there's no environment variable to suppress cron from sending
mail. Best you can do is ensure your single-line command or script
returns no value or output. This is typically done using Borne shell
redirect at the end of the line -- e.g. "> /dev/null 2>&1".
Actually the traditional FBSD way to do this is to have
mailto=""
Thanks guys for posting. Both the Mailto="" and the "> /dev/null 2>&1" dont
help. Still getting messages.
See my reply to Greg Pratt I am going to post details.
.
- Follow-Ups:
- Re: Suppress email output of crontab job
- From: Jolly Roger
- Re: Suppress email output of crontab job
- References:
- Suppress email output of crontab job
- From: Jack B. Pollack
- Re: Suppress email output of crontab job
- From: Martin Smith
- Suppress email output of crontab job
- Prev by Date: Re: Is Quicksilver (and its plugins) really useful and stable?
- Next by Date: Re: Suppress email output of crontab job
- Previous by thread: Re: Suppress email output of crontab job
- Next by thread: Re: Suppress email output of crontab job
- Index(es):
Relevant Pages
|