<commit_before># -*- coding: UTF-8 -*-
import os
from celery import Celery
from celery.schedules import crontab
from django.conf import settings

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'heroku.settings')

app = Celery('heroku')

app.config_from_object('django.conf:settings', namespace='CELERY')
app.autodiscover_tasks(lambda: settings.INSTALLED_APPS)
app.conf.beat_schedule = {
    'symcon_repository_update_nightly': {
        'task': 'symcon.tasks.symcon_repository_update_nightly',
        'schedule': crontab(hour=2, minute=0),<commit_msg>change celery task discovery, refs #2<commit_after># -*- coding: UTF-8 -*-
import os
from celery import Celery
from celery.schedules import crontab

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'heroku.settings')

app = Celery('heroku')

app.config_from_object('django.conf:settings', namespace='CELERY')
app.autodiscover_tasks()
app.conf.beat_schedule = {
    'symcon_repository_update_nightly': {
        'task': 'symcon.tasks.symcon_repository_update_nightly',
        'schedule': crontab(hour=2, minute=0),
{'fraction_non_alphanumeric': 0.1303939962476548, 'fraction_numerical': 0.006566604127579738, 'mean_word_length': 5.883870967741935, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2591488', 'n_tokens_mistral': 362, 'n_tokens_neox': 357, 'n_words': 63}