Skip to content
Snippets Groups Projects
Commit ced0b76d authored by Carmelo Pellegrino's avatar Carmelo Pellegrino
Browse files

add the total duration in the notification

parent eb1187a4
No related branches found
No related tags found
No related merge requests found
......@@ -202,7 +202,7 @@ end_run_time=`nowUTC`
let "end_run_time=${end_run_time} + ${run_duration_seconds}"
while [ `nowUTC` -lt ${end_run_time} ]; do
let "eta=${end_run_time} - `nowUTC`"
notify-send "Run ${run_number} is on going. It will end in ${eta} seconds."
notify-send "Run ${run_number} is on going. It will end in ${eta} seconds. Total run duration: ${run_duration} minutes."
sleep 10
done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment