From 0dd1dfc71da64c347281090884012fcdfc755881 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Sun, 17 Dec 2023 17:34:34 +0100 Subject: [PATCH] Optimized timing --- group_vars/all | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/group_vars/all b/group_vars/all index d6899768..7b961a6b 100644 --- a/group_vars/all +++ b/group_vars/all @@ -1,7 +1,7 @@ # Server Tact Variables ## Ours in which the server is 100% working. Rest of the time is reserved for maintanance -hours_server_awake: "0..2,9..23" +hours_server_awake: "0..1,9..23" ## Random delay for systemd timers to avoid peak loads. randomized_delay_sec: "5min" @@ -12,7 +12,7 @@ on_calendar_health_journalctl: "*-*-* 00:00:00" on_calendar_health_disc_space: "*-*-* 06,12,18,00:00:00" # Check four times per day if there is sufficient disc space on_calendar_health_docker_container: "*-*-* {{ hours_server_awake }}:00:00" # Check once per hour if the docker containers are healthy on_calendar_health_docker_volumes: "*-*-* {{ hours_server_awake }}:15:00" # Check once per hour if the docker volumes are healthy -on_calendar_health_nginx: "*-*-* {{ hours_server_awake }}:45:00" +on_calendar_health_nginx: "*-*-* {{ hours_server_awake }}:45:00" # Check once per hour if all webservices are available ## Schedule for Cleanup Tasks on_calendar_cleanup_backups: "*-*-* 00,06,12,18:30:00" # Cleanup backups every 6 hours, MUST be called before disc space cleanup