Hello,
I have a problem with my M2 2.3.3 instance, some index must be reindex but cron job doesn't work. I have to execute the reindex command through command line with the required indexes in parameter.
No errors into log files, reindex not working without parameters, and indexer:reset not changing anything.
Do you have an idea ?
Hi @jonas_solutions ,
Hope you have configured your cronjob successfully like below. When you set the main Magento 2 cron job, reindexing will be done automatically.
#~ MAGENTO START * * * * * /usr/bin/php /var/www/html/magento2/bin/magento cron:run 2>&1 | grep -v Ran jobs by schedule >> /var/www/html/magento2/var/log/magento.cron.log* * * * * /usr/bin/php /var/www/html/magento2/update/cron.php >> /var/www/html/magento2/var/log/update.cron.log* * * * * /usr/bin/php /var/www/html/magento2/bin/magento setup:cron:run >> /var/www/html/magento2/var/log/setup.cron.log#~ MAGENTO END
Reference: https://devdocs.magento.com/guides/v2.2/config-guide/cli/config-cli-subcommands-cron.html
Hope this helps you!
Problem Solved! Click Kudos & Accept as Solution!