info('Cleaning up old scheduling events'); $time = $this->time->getTime() - (60 * 60); $this->calDavBackend->deleteOutdatedSchedulingObjects($time, 50000); if (!$this->jobList->has(DeleteOutdatedSchedulingObjects::class, null)) { $output->info('Adding background job to delete old scheduling objects'); $this->jobList->add(DeleteOutdatedSchedulingObjects::class, null); } } }