Source

eggDiscover / celery_conf.py

"""
CELERYBEAT_SCHEDULE are task to be run in the background, like cron
"""

from datetime import timedelta
from celery.schedules import crontab
CELERYBEAT_SCHEDULE = {
#twitfetch tasks. they make call on twitter API to retreive data.
    "followers-lookup": {
        "task": "followerslookup.tasks.fetch",
        "schedule": crontab(minute=36),
    },
}