Magento Asked on November 5, 2021
magento 2 how to run indexer command command every 5 mins or is we have any backend option for run the indexer command in magento 2 ?
My problem is when change the status from disable to enable salable quantity not updated once run the indexer command it will updated so i need to run this command every 5 mins. magento have any backend options for this?
What is the purpose of this cron scedule tab in backend
Please create php file and added to my scheduled tasks in my control panel.
<?php system('<path to php> <path to root>/bin/magento indexer:reindex') ?>
<?php system('<path to php> <path to root>/bin/magento cache:status') ?>
Happy Coding. :)
Answered by Mayur Sisodiya on November 5, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP