w4u
v0.1.0
Published
Commandline tool to orchestrate loading
Downloads
2
Readme
Wait 4 You
Commandline tool to orchestrate loading
Installing
$ npm install -g w4y
Usage
Wait for MSSQL connection
w8 tcp localhost:1433
Wait for MongoDB connection
w8 tcp localhost:27017
Wait for MySQL connection
w8 tcp localhost:3306
Wait for HTTP server up
w8 tcp localhost
Wait for downloading complete and retry on fail
w8 cmd "wget https://mydomain.com/superscript.sh" --retry
Wait for success script execution
w8 cmd "sh superscript.sh"
Wait for downloading complete and success script execution
w8 cmd "wget https://mydomain.com/superscript.sh" "sh superscript.sh" --sequenced
Wait 20 seconds
w8 sleep 20
License
The MIT License Copyright (c) 2017-present Ivan Zakharchenko