From 22d6621b02bd9ac945af350d8a7e3de5a7440506 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 6 Jan 2022 15:29:11 +0100 Subject: [PATCH] root run backup every 24 hours 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 6ffbc7d12..39b98e518 100644 --- a/authentik/root/settings.py +++ b/authentik/root/settings.py @@ -357,7 +357,7 @@ CELERY_BEAT_SCHEDULE = { }, "db_backup": { "task": "authentik.core.tasks.backup_database", - "schedule": crontab(minute=0, hour=0), + "schedule": crontab(hour="*/24"), "options": {"queue": "authentik_scheduled"}, }, }