diff options
author | Diego Baños Fariñas <diegobanosfarinas@gmail.com> | 2019-03-04 03:07:02 +0300 |
---|---|---|
committer | diosmosis <diosmosis@users.noreply.github.com> | 2019-03-04 03:07:02 +0300 |
commit | eb76c695a5a9d77c8a845f6c9694fb18f20b9400 (patch) | |
tree | 4ea2746323a50a7dee1253d68fd52d70c267cddf /plugins/UserCountry | |
parent | fd2a9c15cc6b80a96599192c0edbccf5deeaecdd (diff) |
GeoIP first will update the next day, then weekly/monthly after that. Fixes #11006 (#11659)
* Feature: GeoIP first update will be the next day. Then Monthly or Weekly
* Get unit test to pass.
Diffstat (limited to 'plugins/UserCountry')
-rw-r--r-- | plugins/UserCountry/GeoIPAutoUpdater.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/UserCountry/GeoIPAutoUpdater.php b/plugins/UserCountry/GeoIPAutoUpdater.php index 9d2ab6af92..18fd58c0a5 100644 --- a/plugins/UserCountry/GeoIPAutoUpdater.php +++ b/plugins/UserCountry/GeoIPAutoUpdater.php @@ -369,7 +369,7 @@ class GeoIPAutoUpdater extends Task /** @var Scheduler $scheduler */ $scheduler = StaticContainer::getContainer()->get('Piwik\Scheduler\Scheduler'); - $scheduler->rescheduleTask(new GeoIPAutoUpdater()); + $scheduler->rescheduleTaskAndRunTomorrow(new GeoIPAutoUpdater()); } } |