[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

how to check the server can be connected or not



Hi,

a server is closed, but will start in future, sooner or later,

I wish to access in the first time it's open.

I tried:

while ( ssh server )
do
sleep 60
done

wall < server_open.txt

actually I don't know how to write the while part,

thanks for suggestions,

Best regards,


Reply to: