We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bd84f0 commit f8575b5Copy full SHA for f8575b5
app/code/Magento/Cron/Model/Config/Backend/Sitemap.php
@@ -77,8 +77,8 @@ public function afterSave()
77
$frequency = $this->getData('groups/generate/fields/frequency/value');
78
79
$cronExprArray = [
80
- (int)$time[1] ?? 0, //Minute
81
- (int)$time[0] ?? 0, //Hour
+ (int)($time[1] ?? 0), //Minute
+ (int)($time[0] ?? 0), //Hour
82
$frequency == \Magento\Cron\Model\Config\Source\Frequency::CRON_MONTHLY ? '1' : '*', //Day of the Month
83
'*', //Month of the Year
84
$frequency == \Magento\Cron\Model\Config\Source\Frequency::CRON_WEEKLY ? '1' : '*', //# Day of the Week
0 commit comments