0b4ac54363
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
13 lines
391 B
Python
13 lines
391 B
Python
"""Crypto task Settings"""
|
|
from celery.schedules import crontab
|
|
|
|
from authentik.lib.utils.time import fqdn_rand
|
|
|
|
CELERY_BEAT_SCHEDULE = {
|
|
"crypto_certificate_discovery": {
|
|
"task": "authentik.crypto.tasks.certificate_discovery",
|
|
"schedule": crontab(minute=fqdn_rand("crypto_certificate_discovery"), hour="*"),
|
|
"options": {"queue": "authentik_scheduled"},
|
|
},
|
|
}
|