setInterval(60 * 5); } #[\Override] public function run($argument) { $lastCheck = $this->appConfig->getValueInt('support', 'last_check'); // renew subscription info every 23h if (time() - $lastCheck > 23 * 60 * 60) { $this->subscriptionService->renewSubscriptionInfo(false); $this->subscriptionService->checkSubscription(); } } }