dotfiles/mcron/.config/shepherd/init.d/mcron.scm.org
Tom Willemse 9b7417f6c6 Update GNUmakefile
- Add the ‘dunst’, ‘zsh’, ‘mcron’, and ‘mbsync’ modules.

- Tell Make that any ‘*.el’ files ar “precious”, meaning that when a ‘.elc’ file
  was generated from a ‘.el’ file that was itself generated from a ‘.org’ file,
  the ‘.el’ file isn't just an intermediate file and should not be deleted.

- Change the ‘install’ and ‘clean’ to use the ‘*-stow’ and ‘*-clean’ rules set
  up for each module.

- Add configuration for ‘outline-minor-mode’ and change the headings to adhere
  to that configuration.

- Stop using the ‘build/’ directory, tangle all the files to the same directory
  as the source files, and use stow, not cp, to install them. The only exception
  is the XDG files, which now have their specific ‘xdg-stow’ rule. This is
  necessary because programs using these files will overwrite a symbolic link
  they find and replace it with a new file, overwriting my settings.

- Add some files that were missing, and rename some files to follow the existing
  convention to make them easy to tangle.
2022-01-30 23:12:22 -08:00

451 B

Mcron is a guile-based cron service. Define a service for it and start it up!

  (define mcron
    (make <service>
      #:provides '(mcron)
      #:docstring "Run `mcron'"
      #:start (make-forkexec-constructor
               '("mcron")
               #:log-file (string-append (getenv "HOME") "/.logs/mcron.log"))
      #:stop (make-kill-destructor)
      #:respawn? #t))

  (register-services mcron)

  (start mcron)