setInterval(5 * 60); $this->setTimeSensitivity(self::TIME_SENSITIVE); } /** * @throws ProviderNotAvailableException * @throws NotificationTypeDoesNotExistException * @throws NoUserException */ public function run($argument):void { if ($this->config->getAppValue('dav', 'sendEventReminders', 'yes') !== 'yes') { return; } if ($this->config->getAppValue('dav', 'sendEventRemindersMode', 'backgroundjob') !== 'backgroundjob') { return; } $this->reminderService->processReminders(); } }