QChris has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/154267

Change subject: Reschedule recurring reports to 03:00
......................................................................

Reschedule recurring reports to 03:00

We ran the recurring reports an 00:00 which meant that even a lag of a
few minutes might falsify the reports we run. Hence, we now switch to
running them at 03:00. This rescheduling does not solve the lag issue,
but it gives us a at least a bit of safety buffer.

Bug: 68507
Change-Id: I186587296e6e8e16a35e1e9ac76f0d9cfa9458c9
---
M wikimetrics/configurables.py
M wikimetrics/templates/report.html
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/analytics/wikimetrics 
refs/changes/67/154267/1

diff --git a/wikimetrics/configurables.py b/wikimetrics/configurables.py
index 60de674..cb1f356 100644
--- a/wikimetrics/configurables.py
+++ b/wikimetrics/configurables.py
@@ -256,7 +256,7 @@
     for key in schedules:
         schedule_type = schedules[key]['schedule']
         if schedule_type == 'daily':
-            schedules[key]['schedule'] = crontab(minute=0, hour=0)
+            schedules[key]['schedule'] = crontab(minute=0, hour=3)
         elif schedule_type == 'test':
             schedules[key]['schedule'] = timedelta(seconds=1)
         else:
diff --git a/wikimetrics/templates/report.html 
b/wikimetrics/templates/report.html
index 8a50493..4775d82 100644
--- a/wikimetrics/templates/report.html
+++ b/wikimetrics/templates/report.html
@@ -6,7 +6,7 @@
 <label class="checkbox">
     <p><input type="checkbox"  data-bind="checked: request().recurrent"/>
     Make this a <b>Public Scheduled </b> Report.  This means that
-       it will run daily at 00:00 UTC and compute results for each day it runs.
+       it will run daily and compute results for each day it runs.
        <p>
     <p><small>Checking this box makes the results of this report 
<b>publicly</b> accessible.
        There will be no way to stop the report once it starts.  When using 
this feature,

-- 
To view, visit https://gerrit.wikimedia.org/r/154267
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I186587296e6e8e16a35e1e9ac76f0d9cfa9458c9
Gerrit-PatchSet: 1
Gerrit-Project: analytics/wikimetrics
Gerrit-Branch: master
Gerrit-Owner: QChris <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to