Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Aug 2015 08:41:35 -0400
From:      Ernie Luzar <luzar722@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   how to change daily cron emails to go to user account instead of root
Message-ID:  <55DF057F.6040205@gmail.com>

next in thread | raw e-mail | index | archive | help
Hello list;

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?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55DF057F.6040205>