<commit_before>import os
from celery.schedules import crontab

BROKER_URL = 'sqs://%s:%s@' % (os.environ['AWS_ACCESS_KEY'], os.environ['AWS_SECRET_KEY'])

CELERY_IMPORTS = ("tasks", )
CELERY_DEFAULT_QUEUE = 'civic-json'
#CELERY_LOG_FILE=os.path.join(os.path.dirname(__file__), '../../run/celery.log')

CELERYBEAT_SCHEDULE = {
    'update-projects': {
        'task': 'tasks.update_projects',
        'schedule': crontab(minute='*/10'),
     },
    'backup-projects': {
        'task': 'tasks.backup_data',
        'schedule': crontab(hour='*/1'),
     },
}<commit_msg>actually backing up once an hour now<commit_after>import os
from celery.schedules import crontab

BROKER_URL = 'sqs://%s:%s@' % (os.environ['AWS_ACCESS_KEY'], os.environ['AWS_SECRET_KEY'])

CELERY_IMPORTS = ("tasks", )
CELERY_DEFAULT_QUEUE = 'civic-json'
#CELERY_LOG_FILE=os.path.join(os.path.dirname(__file__), '../../run/celery.log')

CELERYBEAT_SCHEDULE = {
    'update-projects': {
        'task': 'tasks.update_projects',
        'schedule': crontab(minute='*/10'),
     },
    'backup-projects': {
        'task': 'tasks.backup_data',
        'schedule': crontab(minute='*/60'),
     },
}
{'fraction_non_alphanumeric': 0.1927710843373494, 'fraction_numerical': 0.006024096385542169, 'mean_word_length': 3.9071729957805905, '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': '4176757', 'n_tokens_mistral': 447, 'n_tokens_neox': 451, 'n_words': 60}