另外,下面这个代码怎么实现啊?放在哪里实现?
timestamp=date +%Y%m%d%H%M%S
pwd
rm -f ./.html
mkdir /jmeter/report/$timestamp
cp /jmeter/report/.jtl /jmeter/report/$timestamp/
cp /jmeter/report/*.html /jmeter/report/$timestamp/
cp /jmeter/report/R*.html ./
rm -f /jmeter/report/latest/.jtl
rm -f /jmeter/report/latest/.html
cp /jmeter/report/.jtl /jmeter/report/latest/
cd /jmeter/report/latest
mv -f *.jtl latest.jtl
rm -f /jmeter/report/.jtl
mv -f /jmeter/report/*.html /jmeter/report/latest
大神求回复,邮件自动发送后报错:ERROR: File './${mail_content}' does not exist
百思不得其解……