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

后端 未结 11 1208
悲哀的现实
悲哀的现实 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:38

    I was referencing a mapped drive and I found that the mapped drives are not always available to the user account that is running the scheduled task so I used \\IPADDRESS instead of MAPDRIVELETTER: and I am up and running.

提交回复
热议问题