Add systemd units
parent
ed9f9f4c5a
commit
334bdf7be6
|
@ -0,0 +1,5 @@
|
|||
[Unit]
|
||||
Description=Run latecomers
|
||||
|
||||
[Service]
|
||||
ExecStart=%h/.latecomers/venv/bin/latecomers %h/.latecomers/config.yaml
|
|
@ -0,0 +1,8 @@
|
|||
[Unit]
|
||||
Description=Run latecomers at 8AM every day
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*-*-* 08:00:00
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
Loading…
Reference in New Issue