Add systemd timer
This commit is contained in:
parent
054c389892
commit
0cca19d948
3 changed files with 29 additions and 0 deletions
9
systemd/kidsnote.service
Normal file
9
systemd/kidsnote.service
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue