run queued in encoding

This commit is contained in:
j 2016-04-01 19:38:16 +02:00
parent 86660409b9
commit 4fed9cbe58

View file

@ -17,7 +17,6 @@ import text.models
def cron(**kwargs):
update_double_imdb()
outofcopyright()
update_queued()
update_keywords()
def outofcopyright():
@ -52,6 +51,7 @@ def update_keywords():
t.text = '\n'.join(data)
t.save()
@periodic_task(run_every=crontab(minute=0), queue='encoding')
def update_queued():
import archive.models
l = itemlist.models.List.get('j:Queued')