I am working on Magento2, and I've to change my product description on every five minutes using the third-party API. Then I've 1laksh product in my Magento, so which approach is better to change the product description.
Create a new Magento Cron & get the product collection with some limit value(10), once the description getting updated. I'll be going to maintain a new field api_updated_time.
so it'll update the descriptions for the first 10 product and update the new field value.
In the second time Cron was running I am checking the time difference between the api_updated_time and Cron running time, based on that I am updating the next ten products.
The above is the right approach or else is there has any better method to accomplish the logic.
Kindly check and share your thoughts.