Question

Possible using SQL query to get last 30 minutes created customer account from Magento? I want to run a cron job that it can get the last 30 minutes created customer account id. so base on ID, I can use Magento object manager to get last name, first name ...etc

Please help.

Était-ce utile?

La solution

select * from customer_entity where created_at >=  (NOW() - INTERVAL 30 MINUTE);
Licencié sous: CC-BY-SA avec attribution
Non affilié à magento.stackexchange
scroll top