mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
systemd: add timers
This commit is contained in:
parent
6b63f2d6a8
commit
8de2ccc94b
2 changed files with 15 additions and 0 deletions
6
config/systemd/user/notes.service
Normal file
6
config/systemd/user/notes.service
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
[Unit]
|
||||||
|
Description=sync notes
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
ExecStart=/home/olex/org/upd.sh
|
||||||
9
config/systemd/user/notes.timer
Normal file
9
config/systemd/user/notes.timer
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
[Unit]
|
||||||
|
Description=sync notes at 17:00 daily
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnCalendar=*-*-* 17:00:00
|
||||||
|
Persistent=true
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
||||||
Loading…
Add table
Add a link
Reference in a new issue