systemd: add ZK autosave script

This commit is contained in:
thomasabishop 2024-02-26 19:38:08 +00:00
parent 6688880365
commit b408ed3f9a
2 changed files with 19 additions and 0 deletions

View 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

View file

@ -0,0 +1,9 @@
[Unit]
Description=Run script every 15 minutes
[Timer]
OnCalendar=*:0/15
[Install]
WantedBy=timers.target