Source

eggDiscover / celery_conf.py

Full commit
"""
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),
    },
    "cleanup" : {
        "task":"followerslookup.tasks.followers_cleanup",
        "schedule":crontab(minute=0),
        }
}