My C# application is returning 0xE0434352 to Windows Task Scheduler but it is not crashing

后端 未结 11 1175
悲哀的现实
悲哀的现实 2020-11-27 15:13

I have written a few C# apps that I have running via windows task scheduler. They are running successfully (as I can see from the log files that they are writing ) but windo

11条回答
  •  死守一世寂寞
    2020-11-27 15:39

    When setup a job in new windows you have two fields "program/script" and "Start in(Optional)". Put program name in first and program location in second. If you will not do that and your program start not in directory with exe, it will not find files that are located in it.

提交回复
热议问题