From 833fa12d2c23ee879658a94fdebffc6b445b14f4 Mon Sep 17 00:00:00 2001 From: totallynotcrazy Date: Tue, 29 Aug 2023 21:09:07 +0000 Subject: [PATCH] Update 2 files - /start.bat - /start.sh --- start.bat | 3 +++ start.sh | 9 +++++++++ 2 files changed, 12 insertions(+) create mode 100644 start.bat create mode 100644 start.sh 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