diff --git a/start.bat b/start.bat new file mode 100644 index 0000000..f9e7f67 --- /dev/null +++ b/start.bat @@ -0,0 +1,3 @@ +call npm install +node main.js +pause \ No newline at end of file diff --git a/start.sh b/start.sh new file mode 100644 index 0000000..a03d01c --- /dev/null +++ b/start.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +npm install +while true; +do + node main.js + echo sleep 5; + sleep 5; +done \ No newline at end of file