Guix at command

One of the problems with Guix is that it is missing an “at” command because it does not have an atd daemon. I figured out that you need to use shepherd's timer service instead. To start up the timer service, you need to add it to ~/.config/shepherd/init.scm

In that add the following lines

(use-modules (shepherd service timer))
(register-services
 (list (timer-service)))

after that, you need to restart herd, and then you can run the service by doing

 herd schedule timer at HH:MM:SS -- COMMAND NAME HERE

You also may need to start up shepherd as a user if you haven't done that already.


By Logan Andersen. This work is licensed under CC BY-SA 4.0

You can see my other blogs here.