Troubleshooting - Windows Server Task Scheduler Didn't Run Properly
So you setup windows server 2010 / 2012 task scheduler to run your application and you didn't see anything updated.
However, when you run the application manually and finish successfully. It might many different issue that cause the application not run but you can read this blog as reference to try few way here.
Add correct local policies
One way is go to Local Security Policy - Local Policies - User Rights Assignment - Log on as a batch job Check to see your user is there or not.
You can reference following for detail.
Add Start in (optional) at Job Actioni tab
By default, task schedular will run application with
/sytem32/ folder. I don't think that's the application location,
so you can go Task Schedular, open your job. Open Actions tabl, at Start in
(optional), type the application path.