@@ -41,3 +41,12 @@ if ! screen -list | grep -q "Bernhard04"; then
)
fi
+sleep 10
+
+num=$(ps xa | grep python | grep -v grep | wc -l)
+while [ $num -eq 6 ]; do
+ echo "All 5 instances are running..."
+ sleep 3600
+ num=$(ps xa | grep python | grep -v grep | wc -l)
+done