155 $this->cronCmd = $cmd;
214 if ($this->cronCmd) {
216 $date = $this->getNextCronExecution();
217 } elseif ($this->interval == 0) {
223 $date = $now + $this->interval - ($now -
$this->start) % $this->interval;
226 if (!empty($this->end) && $date >
$this->end) {
227 throw new \OutOfBoundsException(
'Next execution date is past end date.', 1250715528);
232 throw new \OutOfBoundsException(
'Task is past end date.', 1250715544);
242 public function getNextCronExecution() {
255 return $this->start < time();
264 if (empty($this->end)) {
getIsNewSingleExecution()
setIsNewSingleExecution($isNewSingleExecution)
static makeInstance($className)
if($list_of_literals) if(!empty($literals)) if(!empty($literals)) $result
Analyse literals to prepend the N char to them if their contents aren't numeric.