Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2141 → Rev 2140

/scripts/alcasar-activity_report.sh
660,6 → 660,7
/usr/bin/wkhtmltopdf $HTML_REPORT $(echo $HTML_REPORT | cut -d'.' -f1).pdf
chown apache:apache $(echo $HTML_REPORT | cut -d'.' -f1).pdf
chmod 644 $(echo $HTML_REPORT | cut -d'.' -f1).pdf
mv $HTML_REPORT /var/Save/activity_report/
mv $(echo $HTML_REPORT | cut -d'.' -f1).pdf /var/Save/activity_report/
 
#compress every logs, if they exist
675,9 → 676,8
fi
 
#remove our files
rm -f $TMP_BL
rm -f $TMP_BL_WEEK
rm -f $TMP_BL_WEEK_CAT
rm -f $TMP_STATS
rm -f $TMP_STATS_2
rm -f $HTML_REPORT
rm $TMP_BL
rm $TMP_BL_WEEK
rm $TMP_BL_WEEK_CAT
rm $TMP_STATS
rm $TMP_STATS_2