contributions/scheduler/behaviour/scheduler/24hours.rescheduler.php
Go to the documentation of this file.00001 <?php 00002 /** 00003 * Default reschaeduler: Only run once 00004 */ 00005 class Rescheduler24hours 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 time() + GyroDate::ONE_DAY; 00015 } 00016 }