mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Enable emailing on task failure
This commit is contained in:
@@ -157,8 +157,6 @@ try:
|
|||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
djcelery.setup_loader()
|
|
||||||
|
|
||||||
### Celery Schedule
|
### Celery Schedule
|
||||||
|
|
||||||
CELERYBEAT_SCHEDULE = {
|
CELERYBEAT_SCHEDULE = {
|
||||||
@@ -172,3 +170,8 @@ CELERYBEAT_SCHEDULE = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CELERY_SEND_TASK_ERROR_EMAILS = True
|
||||||
|
|
||||||
|
# Load the Celery tasks
|
||||||
|
djcelery.setup_loader()
|
||||||
|
|||||||
Reference in New Issue
Block a user