[OpenIndiana-discuss] Email cron job results

DormitionSkete@hotmail.com dormitionskete at hotmail.com
Fri May 24 02:54:20 UTC 2013


Bravo!  

That works for me!

Thank you very much!

fp


On May 23, 2013, at 8:46 PM, Timothy Coalson wrote:

> On Thu, May 23, 2013 at 9:17 PM, DormitionSkete at hotmail.com <
> dormitionskete at 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 at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
> 




More information about the OpenIndiana-discuss mailing list