From ea1f5cab5ac7814eda813c86f660c1a5f73b9dce Mon Sep 17 00:00:00 2001 From: iFargle Date: Fri, 8 Dec 2023 19:19:29 +0900 Subject: [PATCH] Update cron --- nixos/hosts/framework-server/cron.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/hosts/framework-server/cron.nix b/nixos/hosts/framework-server/cron.nix index a10ab255..4f29f069 100644 --- a/nixos/hosts/framework-server/cron.nix +++ b/nixos/hosts/framework-server/cron.nix @@ -15,6 +15,8 @@ ''* * * * * /usr/bin/docker exec pihole sudo pihole -a -p $(openssl rand -hex 128)'' # Run the ClamAV scan ''@monthlysource ~/.bashrc; /Storage/Data/docker-compose/sysctl.io/scripts/clamscan-cron.sh'' + # Back up Loki logs monthly + ''@monthly source ~/.bashrc; /Storage/Data/docker-compose/sysctl.io/scripts/backup-logs.sh >> /Storage/Data/Temporary/log_backups.log'' ]; };