From: Sean Smith Date: Mon, 22 Feb 2021 18:05:46 +0000 (-0500) Subject: Update celery schedule to send emails X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F25%2F72125%2F3;p=laas.git Update celery schedule to send emails Change-Id: I0fbf7080d440cea98d358a30ac5df88ce888a8a0 Signed-off-by: Sean Smith Update celery Change-Id: Icd20d67b561bacbccf1f9d75335f76ebdbef4f1d Signed-off-by: Sean Smith --- diff --git a/src/laas_dashboard/settings.py b/src/laas_dashboard/settings.py index 8f43a3d..6b3ed09 100644 --- a/src/laas_dashboard/settings.py +++ b/src/laas_dashboard/settings.py @@ -240,6 +240,10 @@ CELERYBEAT_SCHEDULE = { 'query_vpn_users': { 'task': 'dashboard.tasks.query_vpn_users', 'schedule': timedelta(hours=1) + }, + 'dispatch_emails': { + 'task': 'notifier.tasks.dispatch_emails', + 'schedule': timedelta(minutes=10) } }