setInterval(60 * 60 * 3); } protected function run($argument): void { $default = $this->config->getSystemValue('datadirectory', \OC::$SERVERROOT . '/data') . '/audit.log'; $this->filePath = $this->config->getAppValue('admin_audit', 'logfile', $default); if ($this->filePath === '') { // default log file, nothing to do return; } $this->maxSize = $this->config->getSystemValue('log_rotate_size', 100 * 1024 * 1024); if ($this->shouldRotateBySize()) { $this->rotate(); } } }