Reintroduce New Member rank

Fixes #183
This commit is contained in:
rubenwardy
2022-08-23 02:24:12 +01:00
parent 1d36f7d12b
commit b4208f2dda
8 changed files with 54 additions and 20 deletions

View File

@@ -76,7 +76,7 @@ CELERYBEAT_SCHEDULE = {
},
'check_for_updates': {
'task': 'app.tasks.importtasks.check_for_updates',
'schedule': crontab(minute=10, hour=1), # 0110
'schedule': crontab(minute=10, hour=2), # 0210
},
'send_pending_notifications': {
'task': 'app.tasks.emails.send_pending_notifications',
@@ -90,6 +90,10 @@ CELERYBEAT_SCHEDULE = {
'task': 'app.tasks.usertasks.delete_inactive_users',
'schedule': crontab(minute=15), # every hour at quarter past
},
'upgrade_new_members': {
'task': 'app.tasks.usertasks.upgrade_new_members',
'schedule': crontab(minute=10, hour=3), # 0310
},
}
celery.conf.beat_schedule = CELERYBEAT_SCHEDULE