Date: Wed, 23 Aug 2006 10:56:49 -0700 From: David King <dking@ketralnis.com> To: freebsd-questions@freebsd.org Cc: Bill Moran <wmoran@collaborativefusion.com> Subject: Re: e-mail from cron Message-ID: <32E582EE-9F5C-4426-8DAB-AB109E838C48@ketralnis.com> In-Reply-To: <20060823102841.05d85d88.wmoran@collaborativefusion.com> References: <012e01c6c6bd$29966ac0$d51a2cd0@lisac> <20060823102841.05d85d88.wmoran@collaborativefusion.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>> to this: >> >> # Perform daily/weekly/monthly maintenance. >> 1 3 * * * root periodic daily >> 2>&1 | sendmail service@jellico.com > [...] > However, you might find it easier to just add the following line to > the > top of the crontab: > MAILTO=service@jellico.com > Which will cause all mail generated by the jobs in that file to be > sent > to the provided address. Is that true? MAILTO should change the destination of the output of cron jobs, but periodic handles its own output
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32E582EE-9F5C-4426-8DAB-AB109E838C48>