diff --git a/pandora/app/tasks.py b/pandora/app/tasks.py index f665620a4..4988da2e4 100644 --- a/pandora/app/tasks.py +++ b/pandora/app/tasks.py @@ -3,7 +3,7 @@ import datetime from celery.task import task, periodic_task -from celery.task.schedules import crontab +from celery.schedules import crontab @periodic_task(run_every=crontab(hour=6, minute=0), queue='encoding') diff --git a/pandora/event/tasks.py b/pandora/event/tasks.py index 7938ecb78..b55880777 100644 --- a/pandora/event/tasks.py +++ b/pandora/event/tasks.py @@ -3,7 +3,7 @@ from datetime import timedelta from celery.task import task, periodic_task -from celery.task.schedules import crontab +from celery.schedules import crontab from models import Event diff --git a/pandora/place/tasks.py b/pandora/place/tasks.py index b1a47c937..b044d1498 100644 --- a/pandora/place/tasks.py +++ b/pandora/place/tasks.py @@ -3,7 +3,7 @@ from datetime import timedelta from celery.task import task, periodic_task -from celery.task.schedules import crontab +from celery.schedules import crontab import models