TYPO3 CMS  TYPO3_6-2
SleepTask.php
Go to the documentation of this file.
1 <?php
3 
24 
30  public $sleepTime = 10;
31 
38  public function execute() {
39  $time = 10;
40  if (!empty($this->sleepTime)) {
41  $time = $this->sleepTime;
42  }
43  sleep($time);
44  return TRUE;
45  }
46 
52  public function getAdditionalInformation() {
53  return $GLOBALS['LANG']->sL('LLL:EXT:scheduler/mod1/locallang.xlf:label.sleepTime') . ': ' . $this->sleepTime;
54  }
55 
56 }
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]