Skip to content

Commit

Permalink
Add time running to message
Browse files Browse the repository at this point in the history
  • Loading branch information
idoybh committed Sep 5, 2024
1 parent a8a3aa3 commit dc2cd9e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions makeBuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,12 @@ prog_send()
else
alt=":"
fi
get_time
targets=$(cut -d "," -f 1 <<< "$statusTxt") || continue
percent=$(cut -d "," -f 2 <<< "$statusTxt") || continue
progMsg="${initMsg}\n<code>[${targets}] targets ${alt} ${percent}%</code>" || continue
progMsg="${progMsg}\n<code>$(get_bar "$percent")</code>" || continue
progMsg="${progMsg}\nTime running: <code>${buildTime}</code>" || continue
progMsg="${progMsg}\n\n<code>$(get_stats)</code>" || continue
./telegramSend.sh --tmp "${tmpDir}" --config "${TG_SEND_CFG_FILE}" --edit --disable-preview "${progMsg}" || continue
trap - SIGTERM
Expand Down

0 comments on commit dc2cd9e

Please sign in to comment.