added parameter in config file to disable backup job

This commit is contained in:
carnivuth
2026-02-22 16:01:39 +01:00
parent bba89d0ec5
commit d8220b2429
6 changed files with 20 additions and 1 deletions

View File

@@ -16,7 +16,7 @@ app_logger = get_app_logger()
TASK_CONFIG = {
"name": "dump-krawl-data",
"cron": f"{config.backups_cron}",
"enabled": True,
"enabled": config.backups_enabled,
"run_when_loaded": True,
}