operating-systems: buer: shepherd-services: Specify hours and minutes in guix-gc timer calendar-event

main
Luis Guilherme Coelho 2024-11-28 09:11:01 -03:00
parent 6bbba4af34
commit 4b311e74de
No known key found for this signature in database
GPG Key ID: 1F2E76ACE3F531C8
1 changed files with 3 additions and 1 deletions

View File

@ -27,7 +27,9 @@ next calendar event.")))
(provision '(guix-gc))
(modules '((shepherd service timer)))
(start #~(make-timer-constructor
(calendar-event #:days-of-month '(1 15))
(calendar-event #:days-of-month '(1 15)
#:hours '(8 14 20)
#:minutes '(0))
(command '("guix" "gc" "--optimize" "--free-space=10G"))))
(stop #~(make-timer-destructor))
(actions (list timer-trigger-action))))