Change cron notifications email


#1

I want to have all cron notifications in a different email.
Where can i set the address of the new email?


#2

I hope you mean all cronjobs will go to the same mail address that’s not your usual one. Just add a line to the top of your crontab file:
MAILTO=mycronic@example.com

http://wiki.dreamhost.com/Crontab#Handy_Crontab_Header

-Scott


#3

will they still be sent to my admin email?


#4

I don’t think so. Without that mailto line, it goes to your default mail address. Adding the mailto line overrides the default.

-Scott


#5

That good. That’s what i want to do. Keep my cron notifications in a special mailbox.
Thank you.