I am getting order details using REST API. For this, I have written one controller in my custom module. When I am calling that controller from browser, it's is returning response but when I setup CRON for that then it is not returning any response.
Is there any special setting from CRON for REST API? Please help me how to get data of order using REST API from CRON?