aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/notmuch.timer
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/notmuch.timer')
-rw-r--r--systemd/notmuch.timer12
1 files changed, 12 insertions, 0 deletions
diff --git a/systemd/notmuch.timer b/systemd/notmuch.timer
new file mode 100644
index 0000000..6bb5de3
--- /dev/null
+++ b/systemd/notmuch.timer
@@ -0,0 +1,12 @@
+# must be symlinked from ~/.config/systemd/user
+[Unit]
+Description=notmuch timer
+
+[Timer]
+# run 5m after boot
+OnBootSec=6m
+# then every hour
+OnUnitActiveSec=1m
+
+[Install]
+WantedBy=timers.target