From 3a2285f879ab47ec6f59f4500fd48ba05be3519b Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Tue, 30 Jun 2020 23:25:52 +0200
Subject: [PATCH] Add systemd timer for the table update service.

---
 berlin-corona-table.timer | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 berlin-corona-table.timer

diff --git a/berlin-corona-table.timer b/berlin-corona-table.timer
new file mode 100644
index 0000000..33f13b9
--- /dev/null
+++ b/berlin-corona-table.timer
@@ -0,0 +1,10 @@
+[Unit]
+Description=Update online Berlin Corona infections table.
+
+[Timer]
+# Lageso usually updates the daily data between 6 and 8 pm –
+# and so far never later than 9 pm. 
+OnCalendar=*-*-* 21:00:00
+
+[Install]
+WantedBy=timers.target
-- 
2.30.2