Scheduling Logstash in Windows

Hi, i think i need help.
I have 2 logstash configuration files with different csv file on input, and output to different index pattern too.

I've try to create 2 task scheduler to run each file, and stop the task after 1 hour running. But i've got my data on csv file are parsed by the logstash (data desn't macth the format on csv) and not all of the data inserted on index pattern.

Any reason why? and how to run both logstash configuration files with scheduling in windows properly?

Thank you.