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

View file

@ -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"},
},
}