ifserverisdownthenexecutescript How to use just run it and create a ./test.sh with what you want to run in background ./check.sh &>/dev/null &