contributions/scheduler/behaviour/scheduler/terminator3.rescheduler.php
Go to the documentation of this file.00001 <?php 00002 require_once dirname(__FILE__) . '/rescheduler.base.php'; 00003 00004 /** 00005 * Run three times 00006 */ 00007 class ReschedulerTerminator3 extends ReschedulerBase { 00008 /** 00009 * Returns all schedules for this policy as array. 00010 * 00011 * Array index is number of runs done, value is the difference to last run in seconds 00012 * 00013 * @return array 00014 */ 00015 protected function get_schedules() { 00016 return array( 00017 0 => GyroDate::ONE_HOUR, 00018 1 => GyroDate::ONE_HOUR, 00019 ); 00020 } 00021 }