I have created a bacth file and tried to call it through Task scheduler. It is giving an error unable to launch. but am able to run manually(Without Scheduler) Its perfectly working .
Below is code for Batch :
@echo off
set root=F:\logstash-7.6.1\logstash-7.6.1\bin
CD %root%
call logstash -f F:\logstash-7.6.1\logstash-7.6.1\config\logstash_delta.conf
exit /B 0