diff --git a/contrib/systemd/latecomers.service b/contrib/systemd/latecomers.service new file mode 100644 index 0000000..67e105d --- /dev/null +++ b/contrib/systemd/latecomers.service @@ -0,0 +1,5 @@ +[Unit] +Description=Run latecomers + +[Service] +ExecStart=%h/.latecomers/venv/bin/latecomers %h/.latecomers/config.yaml diff --git a/contrib/systemd/latecomers.timer b/contrib/systemd/latecomers.timer new file mode 100644 index 0000000..747eb5f --- /dev/null +++ b/contrib/systemd/latecomers.timer @@ -0,0 +1,8 @@ +[Unit] +Description=Run latecomers at 8AM every day + +[Timer] +OnCalendar=*-*-* 08:00:00 + +[Install] +WantedBy=timers.target