Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash run until success or timeout

# http://jeromebelleman.gitlab.io/posts/devops/until/
timeout 12h bash -c 'until ssh root@mynewvm; do sleep 10; done'
 
PREVIOUS NEXT
Tagged: #bash #run #success #timeout
ADD COMMENT
Topic
Name
3+8 =