how to change daily cron emails to go to user account instead of root
luzar722 at gmail.com
Thu Aug 27 12:41:35 UTC 2015
How do I change the daily cron emails to go to user account instead of
root? I don't want any cron email going to root any more.
man 5 crontab says the cron environment variable MAILTO = "account user
name" is way to change the cron email from the default of "root" to the
"account user name" you want.
The part that is not clear is where do I place this MAILTO environment
variable? Do I edit /etc/crontab and pace it next to the PATH variable
or maybe in /etc/periodic.conf or /etc/csh.cshrc or /boot/loader.conf?
More information about the freebsd-questions