■バックアップの記録をファイルとに取る ${bktimelog_file}
#!/bin/sh
bktime=`date "+%Y/%m/%d %H:%M"`
bklog=`cat $bktimelog_file`
address="support@XXXX.co.jp"
subject="aq3.XXXX.co.jp ${bktime}"
contents=${bklog}
echo "$contents" | mail -s "$subject" "$address"
■バックアップの記録をファイルとに取る ${bktimelog_file}
#!/bin/sh
bktime=`date "+%Y/%m/%d %H:%M"`
bklog=`cat $bktimelog_file`
address="support@XXXX.co.jp"
subject="aq3.XXXX.co.jp ${bktime}"
contents=${bklog}
echo "$contents" | mail -s "$subject" "$address"