When my project is being triggered manually through a .bat file, the code seems to be running without any error but if the same .bat file is triggered through the task scheduler, only partial code is being executed.
summary of the exception is that: “the process has timed out.”(which btw never occurs when manually triggered)