setInterval(5 * 60); } /** * Makes the background job do its work * * @param array $argument unused argument * @throws \Exception */ public function run($argument) { $lockingProvider = \OC::$server->getLockingProvider(); if ($lockingProvider instanceof DBLockingProvider) { $lockingProvider->cleanExpiredLocks(); } } }