I actually found out what was wrong !

when using 'crontab -e' to edit the crontab, I had the >/dev/null 2>&1
stuff

but I also created a file in /etc/cron.d which didn't have the >/dev/
null 2>&1 and which I forgot I had ! So it was this file that was
sending the email!

Cheers :)

On Aug 28, 10:05 am, MartinB <[email protected]> wrote:
> Hi,
>
> I setup a few crontab job and it just won't stop sending email for
> every job ran. I tried a few things I read on the net:
>
> - I tried adding:  >/dev/null 2>&1       at the end of the line
> - I tried adding: MAILTO=""          at the top of the file
>
> but I still receive email. How can I change that?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"scalr-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/scalr-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to