aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSean Smith <ssmith@iol.unh.edu>2021-02-22 13:05:46 -0500
committerSean Smith <ssmith@iol.unh.edu>2021-02-25 15:01:20 -0500
commit402e6e1111964f28235f6f7ec53ba51c76a8298f (patch)
treea9eb2fdf3118d66abb969efafc63611bab719f78 /src
parentdb4c2dc4c4f0d86e0a00e8409eed74a0bcffb20b (diff)
Update celery schedule to send emails
Change-Id: I0fbf7080d440cea98d358a30ac5df88ce888a8a0 Signed-off-by: Sean Smith <ssmith@iol.unh.edu> Update celery Change-Id: Icd20d67b561bacbccf1f9d75335f76ebdbef4f1d Signed-off-by: Sean Smith <ssmith@iol.unh.edu>
Diffstat (limited to 'src')
-rw-r--r--src/laas_dashboard/settings.py4
1 files changed, 4 insertions, 0 deletions
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)
}
}