provider = $provider; // Run once a day at off-peak time $this->setInterval(24 * 60 * 60); $this->setTimeSensitivity(self::TIME_INSENSITIVE); } protected function run($argument) { $this->provider->invalidateOldTokens(); } }