diff --git a/config/systemd/user/notes.service b/config/systemd/user/notes.service new file mode 100644 index 0000000..af610bd --- /dev/null +++ b/config/systemd/user/notes.service @@ -0,0 +1,6 @@ +[Unit] +Description=sync notes + +[Service] +Type=oneshot +ExecStart=/home/olex/org/upd.sh diff --git a/config/systemd/user/notes.timer b/config/systemd/user/notes.timer new file mode 100644 index 0000000..41640ab --- /dev/null +++ b/config/systemd/user/notes.timer @@ -0,0 +1,9 @@ +[Unit] +Description=sync notes at 17:00 daily + +[Timer] +OnCalendar=*-*-* 17:00:00 +Persistent=true + +[Install] +WantedBy=timers.target