12 lines
526 B
Nix
12 lines
526 B
Nix
{ pkgs, ... }: {
|
|
services.cron = {
|
|
enable = true;
|
|
systemCronJobs = [
|
|
# Backups from nuc-docker01 - See "backup-script.nix"
|
|
# TODO: Re-enable when done
|
|
# ''0 04 * * * root rsync-media &> /root/logs/media/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''
|
|
];
|
|
};
|
|
}
|