diff options
| author | jwansek <eddie.atten.ea29@gmail.com> | 2019-01-08 20:33:06 +0000 | 
|---|---|---|
| committer | jwansek <eddie.atten.ea29@gmail.com> | 2019-01-08 20:33:06 +0000 | 
| commit | 2a9c3799ceeb7d707751cf1672b50c7891703a6b (patch) | |
| tree | 99507a3b08487481606a3f2d188a60f81ca16d1c /runprog.py | |
| parent | b5a21e6ea6118b80691b2812c77e459b45116170 (diff) | |
| download | SmallYTChannelBot-2a9c3799ceeb7d707751cf1672b50c7891703a6b.tar.gz SmallYTChannelBot-2a9c3799ceeb7d707751cf1672b50c7891703a6b.zip | |
updated database
Diffstat (limited to 'runprog.py')
| -rw-r--r-- | runprog.py | 23 | 
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) - | 
