计划任务不会运行返回 e0434f4d 作为最后结果 [英] Scheduled Task will not run returns e0434f4d as last result
问题描述
我有一个简单的 vb.net 应用程序.当我转到 bin\debug\program.exe 并双击该程序运行完美.使用任务调度程序不会执行相同的程序.当我创建一个计划任务并单击运行"时,它会弹出一个控制台窗口一秒钟,然后关闭.此外,这个相同的程序曾经与任务调度程序一起运行.有一天,它刚刚停止工作.
I have a simple vb.net application. When I go to bin\debug\program.exe and double click the program runs perfect. The same program will not execute using task scheduler. When I create a scheduled task and click 'run' it just pops up a console window for a second, closes. Additionally, this same program used to run with task scheduler. One day, it just stopped working.
ps:
我在 svn 中管理了这个程序代码,所以我可以肯定地说代码没有改变.
ps:
I have this program code managed in svn so I can safely say that the code has not changed.
推荐答案
我个人不相信魔法 :-)
Personally I don't believe in magic :-)
- 仔细检查源代码是否是与工作相比未修改版本.
- 您确定该程序完全执行了吗?可能是一些与权限相关的问题(程序从哪个用户执行等等).
- (如果 #2 通过)尝试调试它以查看导致问题的原因.
这篇关于计划任务不会运行返回 e0434f4d 作为最后结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!