sleepTime)) { $time = $this->sleepTime; } sleep($time); return true; } /** * This method returns the sleep duration as additional information * * @return string Information to display */ public function getAdditionalInformation() { return $GLOBALS['LANG']->sL('LLL:EXT:scheduler/Resources/Private/Language/locallang.xlf:label.sleepTime') . ': ' . $this->sleepTime; } }