setUseLock() setUseLock(boolean $useLock) : \Charcoal\App\Script\CronScriptInterface Parameters boolean $useLock The boolean flag if a lock should be used. Returns \Charcoal\App\Script\CronScriptInterface — Chainable
startLock() startLock() : boolean Throws \Exception If the lock file can not be opened. Returns boolean