first successful test

This commit is contained in:
2025-08-24 19:49:45 -07:00
parent 96906161fd
commit cc24088bbe
9 changed files with 388 additions and 110 deletions

View File

@ -0,0 +1,17 @@
#!/bin/bash
i=1
while [ $i ]
do
TIME_ELAPSED=$(curl -s http://172.17.0.1:5000/status | jq .Elapsed_Time)
TIMEOUT_VALUE=$(cat {{ streaming_working_folder }}/service_control/duration.json | jq .seconds)
if [[ $TIME_ELAPSED -gt $TIMEOUT_VALUE ]]; then
curl -s http://172.17.0.1:5000/stop
i=0
fi
sleep 1
done