This script works from crontab and sends the email from root:
df -k>fs.txt
mail -s FileSystems -c "email1@lala.com email2@email.com" email3@email.com<fs.txt
This one doesn't, but when I run it manually, it sends the email from system:
cp /tmp/ONLINEBKUP /u/bin/ONLINEBKUP
mail -s Backup-Report -c "email1@lala.com email2@email.com" email3@email.com<ONLINEBKUP
When I run it manually, I log in as system, and su to root. When I changed the crontab, I did the same thing. Do I need to physically be at the AIX console logged in as root?
Natalie