nix/nixos/hosts/framework-server/cron.nix

10 lines
582 B
Nix
Raw Normal View History

2023-12-07 10:16:46 +01:00
{ pkgs, ... }: {
2023-12-07 10:20:18 +01:00
services.cron = {
enable = true;
systemCronJobs = [
"0 0 * * * ${pkgs.rsync}/bin/rsync --delete -avr /Storage/Data/Docker/root@nuc-docker01:/Storage/Data/Docker/"
"0 3 * * * ${pkgs.rsync}/bin/rsync -avr /Storage/Data/Docker/nextcloud/html/data/albert/files/InstantUpload/ root@nuc-docker01:/Storage/Video/Pictures/InstantUpload/"
"0 5 * * * ${pkgs.rsync}/bin/rsync -avr /Storage/Data/Docker/nextcloud/html/data/albert/files/Wallpapers/ root@nuc-docker01:/Storage/Video/Pictures/Wallpapers"
];
};
2023-12-06 03:56:24 +01:00
}