aboutsummaryrefslogtreecommitdiff
path: root/scripts/systemd/roam-sync.timer
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/systemd/roam-sync.timer')
-rw-r--r--scripts/systemd/roam-sync.timer10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/systemd/roam-sync.timer b/scripts/systemd/roam-sync.timer
new file mode 100644
index 0000000..3d65be0
--- /dev/null
+++ b/scripts/systemd/roam-sync.timer
@@ -0,0 +1,10 @@
+[Unit]
+Description=Auto-sync the org-roam knowledge base every 15 minutes
+
+[Timer]
+OnBootSec=2min
+OnUnitActiveSec=15min
+RandomizedDelaySec=60
+
+[Install]
+WantedBy=timers.target