Cron Email

tlchost

Verified User
Joined
Apr 4, 2007
Messages
320
I've obviously screwed up somehow.

What file or DA menu option controls the address to which cron messages are sent?

I redirected root to admin in /etc/aliases....and the external address is NOT in /etc/aliases.

Mail sent to [email protected] and [email protected] is redirected to admin...and not to the external address that gets the cron messages, so I think it's a cron problem.
 
You cannot control from DA where cron emails are sent. Any output from cron is sent to the user who is running the cron job. If there is a cron job for admin then any output will get sent to admin.

and not to the external address that gets the cron messages

An external address is not supposed to get the cron messages. The local user gets the cron messages unless you manually edit the users cron. If you do that then the next time you edit cron for that user from DA then the change will be lost.
 
You can get very creative with cronjobs, including having them run scripts that redirect all output to a file, and then email the file wherever you want.

Jeff
 
Back
Top