Hello,
I have an rsync backup script that creates log files when it runs. Those log files are then sent to my team using the mail command. This works perfectly when run manually, but when run as a Launch Daemon, the mail piece doesn't work.
I know there are probably differences in the non-interactive root shell, but does anyone have a suggestion to get this working? Below is the command as in my script:
/usr/bin/mail -s "Server $logfile" account at domain.com < $logfile;
Thanks for your help,
Ken