home · contact · privacy
Move daily update schedule to 7pm.
authorChristian Heller <c.heller@plomlompom.de>
Wed, 15 Jul 2020 02:13:21 +0000 (04:13 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Wed, 15 Jul 2020 02:13:21 +0000 (04:13 +0200)
berlin-corona-table.timer
enhance_table.py

index 33f13b93062b4c2c437a7a30bb43f1dca00e2c92..91626e3af00a6f9a8de5cfc4069debddda87a540 100644 (file)
@@ -2,9 +2,8 @@
 Description=Update online Berlin Corona infections table.
 
 [Timer]
 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
 
 [Install]
 WantedBy=timers.target
index e5cf8d39828bd5d94ae9f1a51960f0bb3613fcd9..28c472eeeda95650488700c8b4384c3cae7e4d44 100755 (executable)
@@ -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>
 </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>""")
 <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.
     # 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:
 """
 
 Abbrevations/explanations:
 """