update edits every 12 hours

This commit is contained in:
j 2018-11-15 15:31:46 +00:00
parent ebf2ba4dbd
commit f66de47798

View file

@ -18,4 +18,11 @@ def subtitles_user(**kwargs):
except:
pass
@periodic_task(run_every=timedelta(hours=12), queue='encoding')
def render_edits(**kwargs):
path = '/home/pandora/pandora_render/render_public_edits.py'
if os.path.exists(path)
try:
subprocess.call([path])
except:
pass