You are here

public function CronRule::parseRule in Ultimate Cron 7.2

Same name and namespace in other branches
  1. 8 CronRule.class.php \CronRule::parseRule()
  2. 6 CronRule.class.php \CronRule::parseRule()
  3. 7 CronRule.class.php \CronRule::parseRule()

Parse rule.

Run through parser expanding expression, and recombine into crontab syntax.

1 call to CronRule::parseRule()
CronRule::getNextSchedule in ./CronRule.class.php
Get next schedule time of rule in UNIX timestamp format.

File

./CronRule.class.php, line 253
This class parses cron rules and determines last execution time using least case integer comparison.

Class

CronRule
@file This class parses cron rules and determines last execution time using least case integer comparison.

Code

public function parseRule() {
  if (isset($this->parsed)) {
    return $this->parsed;
  }
  $this->parsed = $this
    ->rebuildRule($this
    ->getIntervals());
  return $this->parsed;
}