Skip to content

Commit

Permalink
fix: bog at 4am
Browse files Browse the repository at this point in the history
  • Loading branch information
xgroleau authored Jan 11, 2025
1 parent 01fdba5 commit 6dab8af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hosts/sheogorath/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ in
};
environment.BORG_RSH = "ssh -i /etc/ssh/ssh_host_ed25519_key";
compression = "auto,lzma";
startAt = "daily";
startAt = *-*-* 04:00:00;
postHook = ''
if [ $exitStatus -ne 0 ]; then
echo -e "From: [email protected]\nTo: [email protected]\nSubject: Borg unraid\n\nFailed to backup borg job unraid with exitcode $exitStatus\n" | ${pkgs.msmtp}/bin/msmtp -a default [email protected]
Expand Down

0 comments on commit 6dab8af

Please sign in to comment.