31 Oct
2007
31 Oct
'07
9:06 a.m.
David Reynolds wrote:
Are you aware that cron will email the output of the script it processes the user whose crontab it is running (or elsewhere if you specify by setting MAILTO) automatically unless you redirect it elsewhere?
Yes, but I wanted to set the subject and control the destination of the email on a per-task basis. Incidentally I did initially just set MAILTO but that didn't seem to work (can MAILTO be an email address or does it need to be a user?) -- Mark Rogers // More Solutions Ltd (Peterborough Office) // 0845 45 89 555 Registered in England (0456 0902) at 13 Clarke Rd, Milton Keynes, MK1 1LG