operating-systems: buer: shepherd-services: Specify hours and minutes in snapshot-/home timer calendar-event

main
Luis Guilherme Coelho 2024-11-28 09:12:42 -03:00
parent b31747d9f6
commit 31f4e5e991
No known key found for this signature in database
GPG Key ID: 1F2E76ACE3F531C8
1 changed files with 3 additions and 1 deletions

View File

@ -39,7 +39,9 @@ next calendar event.")))
(provision '(snapshot-/home)) (provision '(snapshot-/home))
(modules '((shepherd service timer))) (modules '((shepherd service timer)))
(start #~(make-timer-constructor (start #~(make-timer-constructor
(calendar-event #:days-of-month '(1 15)) (calendar-event #:days-of-month '(1 15)
#:hours '(8 14 20)
#:minutes '(0))
(lambda () (lambda ()
(let ((btrfs "/run/current-system/profile/bin/btrfs") (let ((btrfs "/run/current-system/profile/bin/btrfs")
(date (strftime "%Y-%m-%d" (localtime (current-time))))) (date (strftime "%Y-%m-%d" (localtime (current-time)))))