portsnap question
Norberto Meijome
freebsd at meijome.net
Fri Apr 14 13:27:51 UTC 2006
On Fri, 14 Apr 2006 08:54:45 -0400
Adam Stroud <adam at thegeeklord.com> wrote:
> 0 3 * * * root portsnap -I cron update && pkg_version -vIL="
>
> My question is what part of that crontab entry sends an email? Is it a
> function of cron, because I didnt see any reference to an email getting
> sent in the portsnap or pkg_version man page.
Cron will send the output of the command via email to the owner of the crontab.
If it's the system crontab (/etc/crontab), you need to set it in /etc/crontab
by defining the MAILTO variable.
man 5 crontab
B
More information about the freebsd-questions
mailing list