systemd: add ZK autosave script
This commit is contained in:
parent
6688880365
commit
b408ed3f9a
2 changed files with 19 additions and 0 deletions
10
systemd/zettelkasten_autosave/zettelkasten_autosave.service
Normal file
10
systemd/zettelkasten_autosave/zettelkasten_autosave.service
Normal file
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=Run ZK autosave every 15 minutes
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/bin/bash /home/thomas/repos/eolas/scripts/auto_save.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
[Unit]
|
||||
Description=Run script every 15 minutes
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*:0/15
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
|
Loading…
Add table
Reference in a new issue