Skip to content

Commit

Permalink
Improve GeoIP2 re-scheduling (matomo-org#14161)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl committed Mar 4, 2019
1 parent 9241966 commit 283ec8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/GeoIp2/GeoIP2AutoUpdater.php
Expand Up @@ -352,7 +352,7 @@ public static function setUpdaterOptions($options)
/** @var Scheduler $scheduler */
$scheduler = StaticContainer::getContainer()->get('Piwik\Scheduler\Scheduler');

$scheduler->rescheduleTask(new GeoIP2AutoUpdater());
$scheduler->rescheduleTaskAndRunTomorrow(new GeoIP2AutoUpdater());
}

// clear option for GeoIP as not needed if GeoIP2 is set up
Expand Down

0 comments on commit 283ec8d

Please sign in to comment.