Skip to content

Commit

Permalink
Add database name to email subject
Browse files Browse the repository at this point in the history
  • Loading branch information
payal committed Aug 24, 2016
1 parent edeea2d commit 6feff7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/pg_badger_send.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ then
echo "MIME-Version: 1.0"
echo "Content-Type: text/html "
echo "Content-Disposition: inline"
echo "Subject: Pgbadger Report - ${YESTERDAY}"
echo "Subject: ${DATABASE} Pgbadger Report - ${YESTERDAY}"
echo
cat ${DESTINATION}/${LOCAL_SERVER}_log_report-${YESTERDAY}.html| \
/opt/OMNIperl/bin/perl /opt/pgtreats/tools/pgbadger-report-shrinker.pl
Expand Down

0 comments on commit 6feff7d

Please sign in to comment.