root run backup every 24 hours

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-01-06 15:29:11 +01:00
parent 0023df64c8
commit 22d6621b02
1 changed files with 1 additions and 1 deletions

View File

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