summaryrefslogtreecommitdiff
path: root/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'systemd')
-rw-r--r--systemd/dashboard-daily.service6
-rw-r--r--systemd/dashboard-daily.timer9
2 files changed, 15 insertions, 0 deletions
diff --git a/systemd/dashboard-daily.service b/systemd/dashboard-daily.service
new file mode 100644
index 0000000..492fad2
--- /dev/null
+++ b/systemd/dashboard-daily.service
@@ -0,0 +1,6 @@
+[Unit]
+Description=Dashboard daily update
+
+[Service]
+Type=oneshot
+ExecStart=/bin/sh -c '~/dashboard/bin/cron-daily'
diff --git a/systemd/dashboard-daily.timer b/systemd/dashboard-daily.timer
new file mode 100644
index 0000000..de7df23
--- /dev/null
+++ b/systemd/dashboard-daily.timer
@@ -0,0 +1,9 @@
+[Unit]
+Description=Dashboard daily update
+
+[Timer]
+OnCalendar=daily
+Persistent=true
+
+[Install]
+WantedBy=timers.target