Home:ALL Converter>Batch file is not running through Windows 7 Task Scheduler

Batch file is not running through Windows 7 Task Scheduler

Ask Time:2013-02-07T15:01:22         Author:aandroidtest

Json Formatter

I have a batch file that executes a php script which fetches files(pdfs) from the backend and saves locally. I have tried executing the batch file through command prompt and it works perfectly.

But when I setup a Windows Task Scheduler to run this batch, it is not working. The command prompt window pop ups and displays alot of unreadable characters and hangs there.

I have also chosen the option for the bat to run with highest privileges but no difference.

Any idea what's wrong?

Author:aandroidtest,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/14745456/batch-file-is-not-running-through-windows-7-task-scheduler