diff options
author | Sean Smith <ssmith@iol.unh.edu> | 2021-02-22 13:05:46 -0500 |
---|---|---|
committer | Sean Smith <ssmith@iol.unh.edu> | 2021-02-25 15:01:20 -0500 |
commit | 402e6e1111964f28235f6f7ec53ba51c76a8298f (patch) | |
tree | a9eb2fdf3118d66abb969efafc63611bab719f78 /src/laas_dashboard | |
parent | db4c2dc4c4f0d86e0a00e8409eed74a0bcffb20b (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/laas_dashboard')
-rw-r--r-- | src/laas_dashboard/settings.py | 4 |
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) } } |