24
24
datetime.datetime.utcfromtimestamp(os.path.getmtime(stamp_file)) + interval < datetime.datetime.now():
26
26
os.chdir(settings.PROJECT_PATH)
27
p = subprocess.Popen(["./manage.py", which], stdout=subprocess.PIPE,
27
p = subprocess.Popen(["python", "manage.py", which], stdout=subprocess.PIPE,
28
28
stderr=subprocess.STDOUT, close_fds=True)