diff --git a/authentik/admin/settings.py b/authentik/admin/settings.py index 57e0de6e6..3072c339e 100644 --- a/authentik/admin/settings.py +++ b/authentik/admin/settings.py @@ -4,7 +4,7 @@ from celery.schedules import crontab CELERY_BEAT_SCHEDULE = { "admin_latest_version": { "task": "authentik.admin.tasks.update_latest_version", - "schedule": crontab(minute=0), # Run every hour + "schedule": crontab(minute="*/60"), # Run every hour "options": {"queue": "authentik_scheduled"}, } } diff --git a/authentik/outposts/settings.py b/authentik/outposts/settings.py index f02d4fa2a..d7e0fc6e8 100644 --- a/authentik/outposts/settings.py +++ b/authentik/outposts/settings.py @@ -9,7 +9,7 @@ CELERY_BEAT_SCHEDULE = { }, "outposts_service_connection_check": { "task": "authentik.outposts.tasks.outpost_service_connection_monitor", - "schedule": crontab(minute=0, hour="*"), + "schedule": crontab(minute="*/60"), "options": {"queue": "authentik_scheduled"}, }, "outpost_token_ensurer": { diff --git a/authentik/sources/ldap/settings.py b/authentik/sources/ldap/settings.py index 4acdfbfdf..850e9a04d 100644 --- a/authentik/sources/ldap/settings.py +++ b/authentik/sources/ldap/settings.py @@ -8,7 +8,7 @@ AUTHENTICATION_BACKENDS = [ CELERY_BEAT_SCHEDULE = { "sources_ldap_sync": { "task": "authentik.sources.ldap.tasks.ldap_sync_all", - "schedule": crontab(minute=0), # Run every hour + "schedule": crontab(minute="*/60"), # Run every hour "options": {"queue": "authentik_scheduled"}, } }