From 2986b56389726639cdbfd3e42a37b500953fca72 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 12 Jan 2022 22:09:44 +0100 Subject: [PATCH] root: fix backups running every minute instead of once Signed-off-by: Jens Langhammer --- authentik/root/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/root/settings.py b/authentik/root/settings.py index 87780d8cd..1d651ed2d 100644 --- a/authentik/root/settings.py +++ b/authentik/root/settings.py @@ -354,7 +354,7 @@ CELERY_BEAT_SCHEDULE = { }, "db_backup": { "task": "authentik.core.tasks.backup_database", - "schedule": crontab(hour="*/24"), + "schedule": crontab(hour="*/24", minute=0), "options": {"queue": "authentik_scheduled"}, }, }