Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 2006 23:27:46 +1000
From:      Norberto Meijome <freebsd@meijome.net>
To:        Adam Stroud <adam@thegeeklord.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: portsnap question
Message-ID:  <20060414232746.454d04ee@localhost>
In-Reply-To: <443F9B95.9020206@thegeeklord.com>
References:  <443F9B95.9020206@thegeeklord.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 14 Apr 2006 08:54:45 -0400
Adam Stroud <adam@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



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