I am using Magento 2.2.6 with a theme. www.rbhomoeoshop.com The store is using rule to offer x amount of discount on each and every product. There is no condition for discount.
after every 2 or 3 days the discount rule is removed by it self. I have to run a reindex command manually, using ssh.
One of my developer friend gave me a php file with reindex command and set a cron to run that php file twice in a day.
I am getting mail on execution of the cron file but the re-index command is not working. There is no error.
Requesting all to suggest a solution.
cron-man.php
code ?cron_schedule
see if your cron status is success. This will only show magento cronjobs. You don't need to run additional cron for reindex Magento cron should reindex this automatically