contributions/scheduler/behaviour/scheduler/terminator1.rescheduler.php
Go to the documentation of this file.00001 <?php 00002 /** 00003 * Default reschaeduler: Only run once 00004 */ 00005 class ReschedulerTerminator1 implements IRescheduler { 00006 /** 00007 * Return new schedule time for given task or FALSE if task schould end 00008 * 00009 * @param DAOScheduler $task 00010 * @param Status Indicated if schould be rescheduled on success or failure 00011 * @return datetime 00012 */ 00013 public function reschedule($task, $status) { 00014 return false; // Only run once 00015 } 00016 }