]> git.mjollnir.org Git - moodle.git/commit
MDL-16709. Improve scheduling of stats. They only will run if:
authorstronk7 <stronk7>
Mon, 13 Oct 2008 23:24:45 +0000 (23:24 +0000)
committerstronk7 <stronk7>
Mon, 13 Oct 2008 23:24:45 +0000 (23:24 +0000)
commit790bb5a31bcd8a166ec1f466e2d42b6e8f4786b5
treef5c5cc2704a01775a40339fdfdc7b2bcf91277a9
parent0143840c108907c9c74ab47f87fe729c079569b0
MDL-16709. Improve scheduling of stats. They only will run if:
- 20 hours has passes since last execution.
- We are in a 4 hours time window since last scheduled time.
Should work for 99.99% os sites (running cron in < 4h intervals)

Merged from 19_STABLE
lib/statslib.php