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