In this cron I want to do the following things:
- cron should fetch products which has been created in the last 3 days.
- and also I have created some categories in the backend and I want to assign those products to that particular category but the condition should be there for each category can contain only 10 products at a time.
so can anyone have an idea of this please help me.
Thank you in Advance.