from celery.schedules import crontab

# Celery config options
CELERY_BROKER_URL = 'redis://redis:6379'
CELERY_RESULT_BACKEND = 'redis://redis:6379'
CELERYBEAT_SCHEDULE = {
    "api_response_consumer": {
        "task": "app.tasks.api_response_consumer",
        'schedule': crontab(),
    }
}
CELERY_TASK_SERIALIZER = 'json'
CELERY_RESULT_SERIALIZER = 'json'

# In case we want py-redis to access a different broker from celery
REDIS_URL = 'redis://redis:6379'

6e11c55b92e63a4f5004a17868b186002326ad80
<mask token>

<mask token>
CELERY_BROKER_URL = 'redis://redis:6379'
CELERY_RESULT_BACKEND = 'redis://redis:6379'
CELERYBEAT_SCHEDULE = {'api_response_consumer': {'task':
    'app.tasks.api_response_consumer', 'schedule': crontab()}}
CELERY_TASK_SERIALIZER = 'json'
CELERY_RESULT_SERIALIZER = 'json'
REDIS_URL = 'redis://redis:6379'

from celery.schedules import crontab
CELERY_BROKER_URL = 'redis://redis:6379'
CELERY_RESULT_BACKEND = 'redis://redis:6379'
CELERYBEAT_SCHEDULE = {'api_response_consumer': {'task':
    'app.tasks.api_response_consumer', 'schedule': crontab()}}
CELERY_TASK_SERIALIZER = 'json'
CELERY_RESULT_SERIALIZER = 'json'
REDIS_URL = 'redis://redis:6379'

from celery.schedules import crontab

# Celery config options
CELERY_BROKER_URL = 'redis://redis:6379'
CELERY_RESULT_BACKEND = 'redis://redis:6379'
CELERYBEAT_SCHEDULE = {
    "api_response_consumer": {
        "task": "app.tasks.api_response_consumer",
        'schedule': crontab(),
    }
}
CELERY_TASK_SERIALIZER = 'json'
CELERY_RESULT_SERIALIZER = 'json'

# In case we want py-redis to access a different broker from celery
REDIS_URL = 'redis://redis:6379'
