root: fix backups running every minute instead of once

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-01-12 22:09:44 +01:00
parent 58f79b525d
commit 2986b56389

View file

@ -354,7 +354,7 @@ CELERY_BEAT_SCHEDULE = {
}, },
"db_backup": { "db_backup": {
"task": "authentik.core.tasks.backup_database", "task": "authentik.core.tasks.backup_database",
"schedule": crontab(hour="*/24"), "schedule": crontab(hour="*/24", minute=0),
"options": {"queue": "authentik_scheduled"}, "options": {"queue": "authentik_scheduled"},
}, },
} }