home · contact · privacy
Add systemd timer for the table update service.
authorChristian Heller <c.heller@plomlompom.de>
Tue, 30 Jun 2020 21:25:52 +0000 (23:25 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Tue, 30 Jun 2020 21:25:52 +0000 (23:25 +0200)
berlin-corona-table.timer [new file with mode: 0644]

diff --git a/berlin-corona-table.timer b/berlin-corona-table.timer
new file mode 100644 (file)
index 0000000..33f13b9
--- /dev/null
@@ -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