Create schedueled job, fixed tests

This commit is contained in:
venusbb
2018-03-16 09:22:34 +00:00
parent 5d7d4a0dd6
commit bb95a2784f
3 changed files with 101 additions and 42 deletions

View File

@@ -213,6 +213,11 @@ class Config(object):
'schedule': crontab(hour=3, minute=0),
'options': {'queue': QueueNames.PERIODIC}
},
'create-nightly-billing': {
'task': 'create-nightly-billing',
'schedule': crontab(hour=3, minute=30),
'options': {'queue': QueueNames.PERIODIC}
},
'remove_sms_email_jobs': {
'task': 'remove_csv_files',
'schedule': crontab(hour=4, minute=0),