I developed an application that uses REST API to run a search (and then do other things).
This application is launched by the Windows Task Scheduler.
On version 4.0.9 and also some releases of version 4.1 this used to work fine.
Days ago i tried to install latest version and this stopped working.
Now if I run the application from a CMD window, everything works "as expected". But when i open the "Scheduled Tasks" window and go "right-click > Run" on the very same application, the query always comes up empty.