Magento ver. 2.3.5-p2
Hi, I can't figure out how to schedule a daily product CSV file. I can do it manually but I need to do it automatically, for the purpose of sending the list to a price comparison site.
I know the paid Magento version has this feature built into the admin panel. https://docs.magento.com/user-guide/v2.3/system/data-scheduled-import-export.html
But how can this be done on the community version?
Thanks
Hello @oskarebs2lba7c
You can break it down in two process :
1. Cron job on daily basis :
You can run scripts on daily basis by creating a new Module and specifying the time gap the cron should run :
https://www.mageplaza.com/devdocs/magento-2-create-cron-job/
2. Consume CSV :
You can use the below approach to consume CSV programatically :
https://meetanshi.com/blog/import-product-data-programmatically-in-magento-2/
BONUS : You can add a specific timestamp to your CSV to you better pick the specific file.
Hope it helps !