Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (11 sloc) 0.318 kB
#!/usr/bin/env python
# encoding: utf-8
import time,subprocess,datetime
while True:
p = subprocess.Popen(["chessathome-worker"])
print "%s worker started for 5 minutes.." % datetime.datetime.now()
time.sleep(5*60)
p.kill()
print "%s stopping..." % datetime.datetime.now()
time.sleep(2)
p.terminate()
Jump to Line
Something went wrong with that request. Please try again.