# -*- encoding: utf-8 -*-
from django.utils import timezone
from celery import task


@task.periodic_task(run_every=timezone.timedelta(minutes=3))
def update_news():
    from news.crawler import NewsCrawler

    NewsCrawler().execute()

c0ce5f6a68458dafe342dd6041836f03823e37d9
<mask token>

<mask token>


@task.periodic_task(run_every=timezone.timedelta(minutes=3))
def update_news():
    from news.crawler import NewsCrawler
    NewsCrawler().execute()

from django.utils import timezone
from celery import task


@task.periodic_task(run_every=timezone.timedelta(minutes=3))
def update_news():
    from news.crawler import NewsCrawler
    NewsCrawler().execute()

# -*- encoding: utf-8 -*-
from django.utils import timezone
from celery import task


@task.periodic_task(run_every=timezone.timedelta(minutes=3))
def update_news():
    from news.crawler import NewsCrawler

    NewsCrawler().execute()
