diff options
author | Timo Wilken | 2024-08-25 22:16:09 +0200 |
---|---|---|
committer | Timo Wilken | 2024-08-25 22:16:09 +0200 |
commit | 7abe5fe98c5759dbe41d2f96d5da2b63d288f9b3 (patch) | |
tree | 48d7532f995505df5773ad7f54e264ebc76a4a7d /tw | |
parent | e862b7a5b28de96c426b2c105718519caf204039 (diff) |
Import with-mail-out properlywith-mail-out
Diffstat (limited to 'tw')
-rw-r--r-- | tw/services/restic.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tw/services/restic.scm b/tw/services/restic.scm index 2ea8c084..3d081fa8 100644 --- a/tw/services/restic.scm +++ b/tw/services/restic.scm @@ -249,7 +249,7 @@ true." prune? keep-last keep-hourly keep-daily keep-weekly keep-monthly keep-yearly keep-within) #~(job #$schedule - (with-mail-out + ((@ (mcron redirect) with-mail-out) #$(program-file ;; Make cron commands for different repos easier to distinguish. (string-append "restic-cleanup-" (repo-path-basename repo) "-command") @@ -315,7 +315,7 @@ must be given. Leading @code{~/} are replaced with @code{$HOME}.") (define (cronjob config) (match-record config <restic-scheduled-backup> (schedule paths repo password tags restic) #~(job #$schedule - (with-mail-out + ((@ (mcron redirect) with-mail-out) #$(program-file "restic-backup-command" #~(begin (use-modules (ice-9 popen) |