Skip to content
Snippets Groups Projects
Commit a5414cc1 authored by schmittu's avatar schmittu :beer:
Browse files

increased waiting time in start_jupyter_nb.sh

parent 5f2c23f7
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,7 @@ ENDBSUB
# once the file exists and is not empty, the notebook has been startet and is listening
ssh -i id_rsa $USERNAME@$CHOSTNAME "while ! [ -e /cluster/home/$USERNAME/jnbinfo -a -s /cluster/home/$USERNAME/jnbinfo ]; do echo 'Waiting for jupyter notebook to start, sleep for 10 sec'; sleep 10; done"
sleep 1
sleep 2
# get remote ip, port and token from files stored on Euler/Leonhard Open
echo -e "Receiving ip, port and token from jupyter notebook"
remoteip=$(ssh -i id_rsa $USERNAME@$CHOSTNAME "cat /cluster/home/$USERNAME/jnbip | grep -m1 'Remote IP' | cut -d ':' -f 2")
......
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