If the job isnt specifially to be sending you an email its because whatever
script you have running is producing output
And by default the output is mailed to you... The headers it makes up are
very minimal in this case.

To prevent the job from sending the email modify the command in the crontab

/usr/local/bin/jobs/whatever.sh > dev/null 2>&1

That "should" redirect its output to null & any STDERR output it produces as
well, stopping the email coming from you.
I know any scripts which execute ftp will still product the status line
which triggers the email (maybe theres a switch to disable the status but I
havnt seen it) so the above was necessary for me.




-----Original Message-----
From: M.D. DeWar [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 15, 2003 11:18 AM
To: [EMAIL PROTECTED]
Subject: [IMGate] cron sends email 




just a info question.
when one of my cron job runs it sends me an email.
and when imail receives it and I click on it in webmail it
just goes to the reply window.

The subject is this and when clicked on it brings up the reply window
instead of the read mail window.  Cron <[EMAIL PROTECTED]> /usr/local/bi...

was just curious about it. I asked once on imail list awhile back and never
got a reply.

md


Reply via email to