Add celery task to run daily at 00:30 that sends notification counts to performance platform

This commit is contained in:
Imdad Ahad
2017-01-27 12:30:56 +00:00
parent b6cc5b00ba
commit b04c524bc3
3 changed files with 109 additions and 22 deletions

View File

@@ -124,6 +124,11 @@ class Config(object):
'schedule': crontab(minute=0, hour='0,1,2'),
'options': {'queue': 'periodic'}
},
'send-daily-performance-platform-stats': {
'task': 'send-daily-performance-platform-stats',
'schedule': crontab(minute=30, hour=0), # 00:30
'options': {'queue': 'periodic'}
},
'timeout-sending-notifications': {
'task': 'timeout-sending-notifications',
'schedule': crontab(minute=0, hour='0,1,2'),