Skip to content

Commit 4aec0a5

Browse files
Modify the summary style
1 parent e8c7baa commit 4aec0a5

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

alerts/generate_send_summary.sh

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -97,15 +97,16 @@ if [[ -f "$LOG_FILE" ]]; then
9797
done < "$LOG_FILE"
9898

9999
summary=$(
100-
printf "Proof Submission Summary - %s\n" "$(date +'%Y-%m-%d %H:%M:%S')"
101-
echo "----------------------------------------"
102-
printf "Processed batches : %d\n" "$batches"
103-
printf "Proofs submitted : %d\n" "$submitted_total"
104-
printf "Proofs verified : %d\n" "$verified_total"
105-
printf "Proofs not verified : %d\n" "$unverified_total"
106-
printf "Total spent (ETH). : %.12f ETH\n" "$eth_total"
107-
printf "Total spent (USD). : $ %.2f\n" "$usd_total"
108-
echo "----------------------------------------"
100+
printf "Daily Proof Submission Summary\n"
101+
printf "From %s 00:00 to %s 23:59\n" "$(date +'%d-%m-%Y')" "$(date +'%d-%m-%Y')"
102+
echo "----------------------------------------------------"
103+
printf "Processed batches: %d\n" "$batches"
104+
printf "Proofs submitted: %d\n" "$submitted_total"
105+
printf "Proofs verified : %d\n" "$verified_total"
106+
printf "Proofs not verified: %d\n" "$unverified_total"
107+
printf "Total spent (ETH): %.12f ETH\n" "$eth_total"
108+
printf "Total spent (USD): $ %.2f\n" "$usd_total"
109+
echo "----------------------------------------------------"
109110
)
110111

111112
echo "$summary"

0 commit comments

Comments
 (0)