I came to an issue when I created scheduled task to run .net application. Application ran well if I ran it manually, but under scheduled task it worked but did nothing. Task manager even shown application process running, but there was no result. I have to mention application is a simple exe file with config file.
After some struggle I found a solution on Google, which proposed setting the Start In path manually (under the Action properties) to E:\application (E:\application\app.exe would be path to run application), the task started working perfectly. The issue was, without this the config file was not found as otherwise task defaulted the path to system directory.
No comments:
Post a Comment