On Thu, May 23, 2013 at 9:17 PM, dormitionsk...@hotmail.com <
dormitionsk...@hotmail.com> wrote:

> How do I get cron to email me the results of a cron job?
>
> In Linux, cron had a "MAILTO=myadmin" setting in my crontab file.  I
> haven't been able to find anything in OI / Solaris about the MAILTO
> setting.  I tried putting it in /etc/default/cron, and that didn't work,
> either.
>
> Any help will be *greatly* appreciated.
>

I did it the quick and dirty way: I put an email address in a .forward file
in ~root/ to send all root's mail to it, including root's cron jobs.

Tim
_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to