aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/backup_documents.timer
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-10-24 17:05:52 +0100
committerMatthew Lemon <matt@matthewlemon.com>2022-10-24 17:05:52 +0100
commita8aadba1df4c08553fabaf2945b5b9290f5a07f7 (patch)
tree402b99c875d33fb3ee573b858712aec997f0c1b5 /systemd/backup_documents.timer
parente08110886d443b62ed40e01f3237880aa848f648 (diff)
update
Diffstat (limited to 'systemd/backup_documents.timer')
-rw-r--r--systemd/backup_documents.timer12
1 files changed, 12 insertions, 0 deletions
diff --git a/systemd/backup_documents.timer b/systemd/backup_documents.timer
new file mode 100644
index 0000000..44cb6a5
--- /dev/null
+++ b/systemd/backup_documents.timer
@@ -0,0 +1,12 @@
+# must be symlinked from ~/.config/systemd/user
+[Unit]
+Description=Backup documents timer
+
+[Timer]
+# run 10m after boot
+OnBootSec=10m
+# then every hour
+OnUnitActiveSec=2h
+
+[Install]
+WantedBy=timers.target