package Modules\Cron

 Methods

arrayToScheduleString()

arrayToScheduleString($arr, $type) 
Static

Parameters

$arr

$type

getNextScheduleDate()

getNextScheduleDate($min_col, $hour_col, $dom_col, $month_col, $dow_col, $epoch = NULL
Static

Parameters

$min_col

$hour_col

$dom_col

$month_col

$dow_col

$epoch

getOptions()

getOptions($name, $interval = 1
Static

Parameters

$name

$interval

isScheduledToRun()

isScheduledToRun($min_col, $hour_col, $dom_col, $month_col, $dow_col, $epoch = NULL, $last_run_date = NULL
Static

Parameters

$min_col

$hour_col

$dom_col

$month_col

$dow_col

$epoch

$last_run_date

isValidLimit()

isValidLimit($value_arr, $type) 
Static

Parameters

$value_arr

$type

parseScheduleString()

parseScheduleString($str, $type) 
Static

Parameters

$str

$type

 Properties

 

$limits

$limits 

Default

array('minute' => array('min' => 0, 'max' => 59), 'hour' => array('min' => 0, 'max' => 23), 'day_of_month' => array('min' => 1, 'max' => 31), 'month' => array('min' => 1, 'max' => 12), 'day_of_week' => array('min' => 0, 'max' => 7))
Static