Closed
Description
I just found this in M1, surprised to see it is also in M2.
app/code/Magento/Cron/Model/Config/Backend/Sitemap.php line 68 reads
$frequency = $this->getData('groups/generate/frequency/value');
And should read
$frequency = $this->getData('groups/generate/fields/frequency/value');
This causes $frequency to be always false and so, sitemap is always generated daily regardless of configuration
Edit: Typo