UPdate script interval

This commit is contained in:
albert 2024-03-14 22:14:56 +09:00
parent 1811a76388
commit cbbb759042
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A

View file

@ -3,9 +3,9 @@
enable = true; enable = true;
systemCronJobs = [ systemCronJobs = [
# Backups from nuc-docker01 - See "backup-script.nix" # Backups from nuc-docker01 - See "backup-script.nix"
''0 9 * * 5 root rsync-backups &> /root/logs/backups/rsync_`date "+\%Y-\%m-\%d"`.log'' ''0 04 * * * 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 02 * * 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 22 * * * root rsync-sysctl &> /root/logs/sysctl/rsync_`date "+\%Y-\%m-\%d"`.log''
]; ];
}; };
} }