From 4fed9cbe58cb2364467eba62442cff37f36caea8 Mon Sep 17 00:00:00 2001 From: j Date: Fri, 1 Apr 2016 19:38:16 +0200 Subject: [PATCH] run queued in encoding --- tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks.py b/tasks.py index 75e7202..a4647ec 100644 --- a/tasks.py +++ b/tasks.py @@ -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')