From 402e6e1111964f28235f6f7ec53ba51c76a8298f Mon Sep 17 00:00:00 2001 From: Sean Smith Date: Mon, 22 Feb 2021 13:05:46 -0500 Subject: Update celery schedule to send emails Change-Id: I0fbf7080d440cea98d358a30ac5df88ce888a8a0 Signed-off-by: Sean Smith Update celery Change-Id: Icd20d67b561bacbccf1f9d75335f76ebdbef4f1d Signed-off-by: Sean Smith --- src/laas_dashboard/settings.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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) } } -- cgit 1.2.3-korg