When running:
/usr/bin/php /var/www/magento2/bin/magento cron:run | grep -v "Ran jobs by schedule" >> /var/www/magento2/var/log/magento.cron.log
I get:
[Exception]
Notice: Undefined index: jobs in /home/ubuntu/repo/project/vendor/magento/
module-cron/Model/Config/Converter/Db.php on line 39
Best Answer
In my case it was caused by some cron jobs migrated from Magento 1, in
core_config_data
. Magento 2 expects the format to becrontab/{groupname}/jobs/{code}
, while the imported ones miss the group name (i.e. default). If that is your case you might want to delete the wrong entries incore_config_data
, or update them to map the new cron jobs.