aboutsummaryrefslogtreecommitdiffstats
path: root/runprog.py
diff options
context:
space:
mode:
Diffstat (limited to 'runprog.py')
-rw-r--r--runprog.py23
1 files changed, 0 insertions, 23 deletions
diff --git a/runprog.py b/runprog.py
deleted file mode 100644
index a564678..0000000
--- a/runprog.py
+++ /dev/null
@@ -1,23 +0,0 @@
-from time import sleep
-import subprocess
-import multiprocessing
-
-def thread_():
- subprocess.run(["python3", "SmallYTChannelBotSubmissions.py"])
-
-while True:
- thread = multiprocessing.Process(target = thread_, args = ())
- thread.start()
-
- sleep(60 * 60 * 2)
-
- #print("closing...")
- #file = open("pid.txt", "r")
- #pid = file.readlines()[0]
- #file.close()
-
- #subprocess.run(["kill", pid])
- thread.terminate()
-
- #print("killed ", pid)
-