
* format files Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix pyright Signed-off-by: Jens Langhammer <jens@goauthentik.io> * revert #8367 Signed-off-by: Jens Langhammer <jens@goauthentik.io> * sigh Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io>
14 lines
378 B
Python
14 lines
378 B
Python
"""authentik admin settings"""
|
|
|
|
from celery.schedules import crontab
|
|
|
|
from authentik.lib.utils.time import fqdn_rand
|
|
|
|
CELERY_BEAT_SCHEDULE = {
|
|
"admin_latest_version": {
|
|
"task": "authentik.admin.tasks.update_latest_version",
|
|
"schedule": crontab(minute=fqdn_rand("admin_latest_version"), hour="*"),
|
|
"options": {"queue": "authentik_scheduled"},
|
|
}
|
|
}
|