mirror of https://codeberg.org/anemofilia/zero
operating-systems: buer: shepherd-services: Specify hours and minutes in guix-gc timer calendar-event
parent
6bbba4af34
commit
4b311e74de
|
@ -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))))
|
||||
|
|
Loading…
Reference in New Issue