Update celery schedule to send emails 25/72125/3
authorSean Smith <ssmith@iol.unh.edu>
Mon, 22 Feb 2021 18:05:46 +0000 (13:05 -0500)
committerSean Smith <ssmith@iol.unh.edu>
Thu, 25 Feb 2021 20:01:20 +0000 (15:01 -0500)
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>
src/laas_dashboard/settings.py

index 8f43a3d..6b3ed09 100644 (file)
@@ -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)
     }
 }