Skip to content

Commit

Permalink
Added update script which runs the hahud.py periodically
Browse files Browse the repository at this point in the history
  • Loading branch information
nthd committed Nov 30, 2018
1 parent 8882470 commit 0e9134e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions hahud_periodic.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import time, threading, os
def hahudRun():
print("Update: "+time.ctime())
os.system("hahud.py")
threading.Timer((60*15), hahudRun).start() # 15 min
# Run
hahudRun()

0 comments on commit 0e9134e

Please sign in to comment.