aboutsummaryrefslogtreecommitdiffstats
path: root/runprog.py
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2019-01-08 20:33:06 +0000
committerjwansek <eddie.atten.ea29@gmail.com>2019-01-08 20:33:06 +0000
commit2a9c3799ceeb7d707751cf1672b50c7891703a6b (patch)
tree99507a3b08487481606a3f2d188a60f81ca16d1c /runprog.py
parentb5a21e6ea6118b80691b2812c77e459b45116170 (diff)
downloadSmallYTChannelBot-2a9c3799ceeb7d707751cf1672b50c7891703a6b.tar.gz
SmallYTChannelBot-2a9c3799ceeb7d707751cf1672b50c7891703a6b.zip
updated database
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)
-