Re: cron: different job different mail
On Wed, Aug 25, 2010 at 07:12:21PM +0000, T o n g wrote:
> Hi,
>
> I know I can set MAIL in cron jobs so as to define where the cron
> execution log will send to. but,
>
> I'm wondering if it is possible to set different email destinations for
> different cron jobs.
I wonder how direct and elegant the solution needs to be.
If you send the cron mail to one address, you could apply
a filter such as procmail (I use Email::Audit)
to forward or sort to the desired destinations.
Regards,
> Thanks
>
> --
> Tong (remove underscore(s) to reply)
> http://xpt.sourceforge.net/techdocs/
> http://xpt.sourceforge.net/tools/
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] i53pul$tgc$2@dough.gmane.org">http://lists.debian.org/[🔎] i53pul$tgc$2@dough.gmane.org
>
--
Joel Roth
Reply to: