Files
authentik/authentik/sources/ldap/settings.py
2021-09-17 12:42:20 +02:00

11 lines
302 B
Python

"""LDAP Settings"""
from celery.schedules import crontab
CELERY_BEAT_SCHEDULE = {
"sources_ldap_sync": {
"task": "authentik.sources.ldap.tasks.ldap_sync_all",
"schedule": crontab(minute="*/120"), # Run every other hour
"options": {"queue": "authentik_scheduled"},
}
}