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.

有帮助吗?

解决方案

select * from customer_entity where created_at >=  (NOW() - INTERVAL 30 MINUTE);
许可以下: CC-BY-SA归因
scroll top