import os
from celery import Celery
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'WeatherTelegramBot.settings')
celery_app = Celery('WeatherTelegramBot')
celery_app.config_from_object('django.conf:settings', namespace='CELERY')
celery_app.autodiscover_tasks()
celery_app.conf.beat_schedule = {'creating-new-objects': {'task':
    'tasks.tasks.create_new_object', 'schedule': 60.0}}
if __name__ == '__main__':
    celery_app.start()

3a7867d6139ec31de23d990df164635a533c66da
<mask token>

<mask token>
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'WeatherTelegramBot.settings')
<mask token>
celery_app.config_from_object('django.conf:settings', namespace='CELERY')
celery_app.autodiscover_tasks()
<mask token>
if __name__ == '__main__':
    celery_app.start()

<mask token>
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'WeatherTelegramBot.settings')
celery_app = Celery('WeatherTelegramBot')
celery_app.config_from_object('django.conf:settings', namespace='CELERY')
celery_app.autodiscover_tasks()
celery_app.conf.beat_schedule = {'creating-new-objects': {'task':
    'tasks.tasks.create_new_object', 'schedule': 60.0}}
if __name__ == '__main__':
    celery_app.start()

import os
from celery import Celery
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'WeatherTelegramBot.settings')
celery_app = Celery('WeatherTelegramBot')
celery_app.config_from_object('django.conf:settings', namespace='CELERY')
celery_app.autodiscover_tasks()
celery_app.conf.beat_schedule = {'creating-new-objects': {'task':
    'tasks.tasks.create_new_object', 'schedule': 60.0}}
if __name__ == '__main__':
    celery_app.start()
