ruleProductProcessor = $ruleProductProcessor; } /** * Daily update catalog price rule by cron * Update include interval 3 days - current day - 1 days before + 1 days after * This method is called from cron process, cron is working in UTC time and * we should generate data for interval -1 day ... +1 day * * @return void */ public function execute() { $this->ruleProductProcessor->markIndexerAsInvalid(); } }