Add systemd timer

This commit is contained in:
Jeena 2025-08-14 19:59:24 +09:00
parent 054c389892
commit 0cca19d948
3 changed files with 29 additions and 0 deletions

9
systemd/kidsnote.service Normal file
View file

@ -0,0 +1,9 @@
[Unit]
Description=Download Kidsnote reports and JSON
Wants=kidsnote.timer
[Service]
Type=oneshot
WorkingDirectory=/home/jeena/Projects/kidsnote
ExecStart=/usr/bin/pipenv run ./get_report.py
ExecStart=/usr/bin/pipenv run ./report_json_down.py