From cbbb759042a4e63108d134f11f3322c537a22d04 Mon Sep 17 00:00:00 2001 From: albert Date: Thu, 14 Mar 2024 22:14:56 +0900 Subject: [PATCH] UPdate script interval --- nixos/hosts/backups-rpi4/cron.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/hosts/backups-rpi4/cron.nix b/nixos/hosts/backups-rpi4/cron.nix index 1d683171..9943d645 100644 --- a/nixos/hosts/backups-rpi4/cron.nix +++ b/nixos/hosts/backups-rpi4/cron.nix @@ -3,9 +3,9 @@ enable = true; systemCronJobs = [ # Backups from nuc-docker01 - See "backup-script.nix" - ''0 9 * * 5 root rsync-backups &> /root/logs/backups/rsync_`date "+\%Y-\%m-\%d"`.log'' - ''0 9 * * 3 root rsync-data-vol &> /root/logs/data-vol/rsync_`date "+\%Y-\%m-\%d"`.log'' - ''0 9 * * 1 root rsync-sysctl &> /root/logs/sysctl/rsync_`date "+\%Y-\%m-\%d"`.log'' + ''0 04 * * * root rsync-backups &> /root/logs/backups/rsync_`date "+\%Y-\%m-\%d"`.log'' + ''0 02 * * 3 root rsync-data-vol &> /root/logs/data-vol/rsync_`date "+\%Y-\%m-\%d"`.log'' + ''0 22 * * * root rsync-sysctl &> /root/logs/sysctl/rsync_`date "+\%Y-\%m-\%d"`.log'' ]; }; }