[TYPO3-dev] Scheduler task: Last run?

Marc Wöhlken woehlken at quadracom.de
Mon Dec 10 14:57:26 CET 2012


The critical part is found in class tx_scheduler:

public function executeTask(tx_scheduler_Task $task) {
  ...
  // Register execution
	executionID = $task->markExecution();
  $failure = null;
  try {
    // Execute task
    $successfullyExecuted = $task->execute();
    if (!$successfullyExecuted) {
      throw new tx_scheduler_FailedExecutionException(
      ...
    }
  } catch(Exception $e) {
    // Store exception, so that it can be saved to database
    $failure = $e;
  }
  ...
}




-- 
...........................................................
Marc Wöhlken                     TYPO3 certified integrator

Quadracom - Proffe & Wöhlken

Rembertistraße 32              WWW: http://www.quadracom.de
D-28203 Bremen                E-Mail: woehlken at quadracom.de
______________             PGP-Key: http://pgp.quadracom.de



More information about the TYPO3-dev mailing list