diff options
Diffstat (limited to 'nixops')
-rw-r--r-- | nixops/eldiron.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/nixops/eldiron.nix b/nixops/eldiron.nix index ecc65cc..cad4e75 100644 --- a/nixops/eldiron.nix +++ b/nixops/eldiron.nix | |||
@@ -94,12 +94,10 @@ | |||
94 | 94 | ||
95 | services.cron = { | 95 | services.cron = { |
96 | enable = true; | 96 | enable = true; |
97 | # Doesn't work, need to be a user | ||
98 | mailto = "cron+eldiron@immae.eu"; | ||
99 | systemCronJobs = [ | 97 | systemCronJobs = [ |
100 | '' | 98 | '' |
101 | # The star after /var/lib/* avoids deleting all folders in case of problem | 99 | # The star after /var/lib/* avoids deleting all folders in case of problem |
102 | 0 3,9,15,21 * * * root rsync -e "ssh -i /root/.ssh/id_charon_vpn" -aAXvz --delete --numeric-ids --super --rsync-path="sudo rsync" /var/lib/* immae@immae.eu: | 100 | 0 3,9,15,21 * * * root rsync -e "ssh -i /root/.ssh/id_charon_vpn" -aAXvz --delete --numeric-ids --super --rsync-path="sudo rsync" /var/lib/* immae@immae.eu: > /dev/null |
103 | '' | 101 | '' |
104 | ]; | 102 | ]; |
105 | }; | 103 | }; |