from __future__ import absolute_import
from __future__ import unicode_literals
from celery.schedules import crontab
from celery.task import periodic_task
from django.core.management import call_command


@periodic_task(run_every=crontab(minute="0", hour="2", day_of_week="0"), queue='background_queue')
def remove_doc_conflicts():
    call_command('delete_doc_conflicts')

from __future__ import absolute_import
from __future__ import unicode_literals
from celery.schedules import crontab
from celery.task import periodic_task
from django.core.management import call_command


@periodic_task(run_every=crontab(minute="0", hour="2", day_of_week="0"), queue='background_queue')
def remove_doc_conflicts():
    call_command('delete_doc_conflicts')
