Possible to using SQL query to get last 30 minutes created account from Magento?
-
15-04-2021 - |
Domanda
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.
Soluzione
select * from customer_entity where created_at >= (NOW() - INTERVAL 30 MINUTE);
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a magento.stackexchange