CmdID

CmdID / Commands

wait4x-tcp

Wait for TCP port(s) to become available. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Wait for a TCP port to become available

wait4x tcp localhost:8080Identify

Wait for a port with a specific timeout

wait4x tcp localhost:3306 --timeout 60sIdentify

Wait for a port to become free (inverted check)

wait4x tcp localhost:8080 --invert-checkIdentify

Wait for multiple ports in parallel

wait4x tcp localhost:3306 localhost:6379 ...Identify

Run a command after the port becomes available

wait4x tcp localhost:3306 -- path/to/script.shIdentify

Wait with exponential backoff

wait4x tcp localhost:8080 --backoff-policy exponential --backoff-exponential-max-interval 30sIdentify