What i am trying to achieve is: Abandoned Customer Email Notification using 2 ways. 1). when customer logged out or closed his browser, 2). After X no. of days
ON Both ways cron will work.
For 2nd Way i have the solution.
But for the 1st way i am not getting how to check the customer is logged out or not, on the external php page or in module.
Kindly suggest, Please.