You are here

public function CronRule::rebuildRule in Ultimate Cron 8.2

Convert intervals back into crontab rule format.

Parameters

array $intervals: Intervals to convert.

Return value

string Crontab rule.

1 call to CronRule::rebuildRule()
CronRule::parseRule in src/CronRule.php
Parse rule. Run through parser expanding expression, and recombine into crontab syntax.

File

src/CronRule.php, line 253

Class

CronRule

Namespace

Drupal\ultimate_cron

Code

public function rebuildRule($intervals) {
  return implode(' ', $intervals['parts']);
}