copy attendee to '/tmp/attendee.csv' csv header
su - postgres -c "psql seminar postgres -f /var/lib/pgsql/export.sql"
$ mutt -s "報名資料表" -a /tmp/attendee.csv pm@mycompany.com -c boss@mycompany.com,partner@other.com < /dev/null
#!/bin/bash
su - postgres -c "psql seminar postgres -f /var/lib/pgsql/export.sql"
mutt -s "報名資料表" -a /tmp/attendee.csv pm@mycompany.com -c boss@mycompany.com,partner@other.com < /dev/null
01 17 * * * root /root/dump.sh
mutt -e 'my_hdr from:客服中心<service@andowson.com>' -s "測試資料" -a /tmp/test.txt somebody@andowson.com < /dev/null