mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Add blacklist checker onto the scheduled task
This commit is contained in:
@@ -189,6 +189,10 @@ CELERYBEAT_SCHEDULE = {
|
|||||||
"task": "eve_proxy.tasks.clear_old_logs",
|
"task": "eve_proxy.tasks.clear_old_logs",
|
||||||
"schedule": timedelta(days=1),
|
"schedule": timedelta(days=1),
|
||||||
},
|
},
|
||||||
|
"blacklist-check": {
|
||||||
|
"task": "hr.tasks.blacklist_check",
|
||||||
|
"schedule": timedelta(days=1),
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
CELERY_SEND_TASK_ERROR_EMAILS = True
|
CELERY_SEND_TASK_ERROR_EMAILS = True
|
||||||
|
|||||||
Reference in New Issue
Block a user