magento 2 update by schedule code example Example: set indexer on sheduled magento 2 bin/magento indexer:set-mode schedule indexername