Create new training job in a screen
This commit is contained in:
parent
fefeefa96e
commit
9ee45587e0
|
@ -27,4 +27,6 @@ else
|
||||||
echo "No email script, not sending."
|
echo "No email script, not sending."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
bash ./scripts/train.sh "${JSON}"
|
ID=$(echo $JSON | jq -r '.id')
|
||||||
|
|
||||||
|
screen -dm -S "${ID}" bash ./scripts/train.sh "${JSON}"
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
for i in {1..500}; do
|
||||||
|
echo "${1} ${i}"
|
||||||
|
sleep 2
|
||||||
|
done
|
Loading…
Reference in New Issue