I am hoping to get some help here. I have a daily task scheduled to run a .bat file which basically runs a query and sends some email reports. My coding is in PHP. The bat file and script works fine when run manually however when I set it up to run in the task scheduler it says it runs but it does not.
The result returns this code (0xFF).
Does anyone know how to get this running successfully?