pm2/examples/process-file/connection_check.sh
2016-09-04 12:14:41 +08:00

8 lines
81 B
Bash

#!/bin/bash
foo() {
echo "Hello Bash!"
}
while true; do foo; sleep 2; done