From: Christian Heller <c.heller@plomlompom.de>
Date: Wed, 15 Jul 2020 02:13:21 +0000 (+0200)
Subject: Move daily update schedule to 7pm.
X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/test?a=commitdiff_plain;h=25ddf4a9271680eba1c1280e331cbfd4f35519c6;p=berlin-corona-table

Move daily update schedule to 7pm.
---

diff --git a/berlin-corona-table.timer b/berlin-corona-table.timer
index 33f13b9..91626e3 100644
--- a/berlin-corona-table.timer
+++ b/berlin-corona-table.timer
@@ -2,9 +2,8 @@
 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
+# Lageso usually updates the daily data around 6, give 1 hour of tolerance.
+OnCalendar=*-*-* 19:00:00
 
 [Install]
 WantedBy=timers.target
diff --git a/enhance_table.py b/enhance_table.py
index e5cf8d3..28c472e 100755
--- a/enhance_table.py
+++ b/enhance_table.py
@@ -150,7 +150,7 @@ th { text-align: left; vertical-align: bottom; }
 </head>
 <a href="/">home</a> · <a href="/contact.html">contact</a> · <a href="/privacy.html">privacy</a>
 <h1>Berlin's Corona infection numbers, development by districts</h1>
-<p>Updated daily at 9pm based on data from the "Senatsverwaltung für Gesundheit, Pflege und Gleichstellung". <a href="https://plomlompom.com/repos/?p=berlin-corona-table">Source code</a>. <a href="berlin_corona.txt">Plain text view (optimized for terminal curl)</a>.</p>
+<p>Updated daily at 7pm based on data from the "Senatsverwaltung für Gesundheit, Pflege und Gleichstellung". <a href="https://plomlompom.com/repos/?p=berlin-corona-table">Source code</a>. <a href="berlin_corona.txt">Plain text view (optimized for terminal curl)</a>.</p>
 <table>
 <tr>
 <th colspan=2></th>""")
@@ -216,7 +216,7 @@ elif output_type == 'txt':
     # Explain what this is.
     intro = \
 """Table of Berlin's Corona infection number development by districts.
-Updated daily at 9pm based on data from the "Senatsverwaltung für Gesundheit, Pflege und Gleichstellung".
+Updated daily at 7pm based on data from the "Senatsverwaltung für Gesundheit, Pflege und Gleichstellung".
 
 Abbrevations/explanations:
 """