Вопрос

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 с атрибуция
Не связан с magento.stackexchange
scroll top