Add fuzzy and text-classification light model #1
					 1 changed files with 12 additions and 0 deletions
				
			
		add await script
				commit
				
					
					
						7b2cff5ff2
					
				
			
		
							
								
								
									
										12
									
								
								await.sh
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										12
									
								
								await.sh
									
										
									
									
									
										Executable file
									
								
							|  | @ -0,0 +1,12 @@ | ||||||
|  | while [[ 1 == 1 ]]; do | ||||||
|  | 	/bin/sleep 10 | ||||||
|  | 	code=$(curl -o /dev/null -s -w "%{http_code}\n" 10.10.10.8) | ||||||
|  | 	echo "10.10.10.8 return code $code" | ||||||
|  | 
 | ||||||
|  | 	if [ $code = '200' ]; then  | ||||||
|  | 		exit 0;  | ||||||
|  | 	else  | ||||||
|  | 		echo "retrying in 10s";  | ||||||
|  | 	fi | ||||||
|  | done | ||||||
|  | 
 | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue