in reply to Error reporting from web/mail scripts.

Cron job STDERR doesn't go to a random place either, on most modern Unix-like systems it is mailed to the user running the cronjob. You can change the recipient by prepending this line to your crontab file:
MAILTO=foo@example.com