From: Christian Heller 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%7Bdb.prefix%7D%7D/blog?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; } home · contact · privacy

Berlin's Corona infection numbers, development by districts

-

Updated daily at 9pm based on data from the "Senatsverwaltung für Gesundheit, Pflege und Gleichstellung". Source code. Plain text view (optimized for terminal curl).

+

Updated daily at 7pm based on data from the "Senatsverwaltung für Gesundheit, Pflege und Gleichstellung". Source code. Plain text view (optimized for terminal curl).

""") @@ -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: """