run queued in encoding
This commit is contained in:
parent
86660409b9
commit
4fed9cbe58
1 changed files with 1 additions and 1 deletions
2
tasks.py
2
tasks.py
|
@ -17,7 +17,6 @@ import text.models
|
||||||
def cron(**kwargs):
|
def cron(**kwargs):
|
||||||
update_double_imdb()
|
update_double_imdb()
|
||||||
outofcopyright()
|
outofcopyright()
|
||||||
update_queued()
|
|
||||||
update_keywords()
|
update_keywords()
|
||||||
|
|
||||||
def outofcopyright():
|
def outofcopyright():
|
||||||
|
@ -52,6 +51,7 @@ def update_keywords():
|
||||||
t.text = '\n'.join(data)
|
t.text = '\n'.join(data)
|
||||||
t.save()
|
t.save()
|
||||||
|
|
||||||
|
@periodic_task(run_every=crontab(minute=0), queue='encoding')
|
||||||
def update_queued():
|
def update_queued():
|
||||||
import archive.models
|
import archive.models
|
||||||
l = itemlist.models.List.get('j:Queued')
|
l = itemlist.models.List.get('j:Queued')
|
||||||
|
|
Loading…
Reference in a new issue