dot.nix/host/cloud/modules/cron/default.nix
Chris Toph ee1ed4739e Complete Merge of all Hosts
WIP but should should be mostly working
2024-09-22 01:07:26 -04:00

11 lines
No EOL
389 B
Nix

{
services.cron = {
enable = true;
systemCronJobs = [
# Runs snapraid-runner every day at 3am
"0 3 * * * root snapraid-runner"
# Runs a backup of the Docker storage directory every Monday at 4am
"0 4 * * 0 root tar -Pzcf /pool/Backups/DockerStorage/DockerStorage.tar.gz -C /mnt/drive1/DockerStorage ."
];
};
}