Wire in the new task. Runs at 5am after the other tasks.

This commit is contained in:
Martyn Inglis
2017-05-11 15:23:45 +01:00
parent f0e47029f2
commit 02f7abcc48

View File

@@ -147,6 +147,11 @@ class Config(object):
'task': 'remove_csv_files',
'schedule': crontab(minute=0, hour=4),
'options': {'queue': 'periodic'}
},
'timeout-job-statistics': {
'task': 'timeout-job-statistics',
'schedule': crontab(minute=0, hour=5),
'options': {'queue': 'periodic'}
}
}
CELERY_QUEUES = [
@@ -198,6 +203,7 @@ class Config(object):
######################
class Development(Config):
SQLALCHEMY_ECHO = False
NOTIFY_EMAIL_DOMAIN = 'notify.tools'
CSV_UPLOAD_BUCKET_NAME = 'development-notifications-csv-upload'
NOTIFY_ENVIRONMENT = 'development'