HI,
I do have Progress Database. I do run analasys report every sunday. But I have to send a email from shell script every month one resport.(last weeks report as monthly report. I tried this
But didn't work
#/usr/bin/mail -s "TESTING"
PROGDBA@company.org < report.txt
#!/bin/bash
SUBJECT="Automated TEST"
TO="PROGDBA@company.org "
MESSAGE="/home/33534/report.txt"
echo "test added!" >> $MESSAGE
echo "Time: `date`" >> $MESSAGE
/usr/bin/mail -s "$SUBJECT" "$TO" < $MESSAGE
#/usr/bin/mail -s "TESTING"
PROGDBA@company.org < report.txt