10 lines
No EOL
365 B
Nix
10 lines
No EOL
365 B
Nix
{ pkgs, ... }: {
|
|
services.cron = {
|
|
enable = true;
|
|
systemCronJobs = [
|
|
# Backups from nuc-docker01 - See "backup-script.nix"
|
|
# https://git.sysctl.io/albert/random-scripts/src/branch/master/rsync-pi/rsync-all.sh
|
|
''0 9 * * * root rsync-backup >> /root/logs/rsync-backup-`date "+\%Y-\%m-\%d"`''
|
|
];
|
|
};
|
|
} |