开发者

Need to send email notification on visual studio run

开发者 https://www.devze.com 2023-01-18 06:42 出处:网络
I\'m executing a test-execution project using visual studio 2005 (using the pnunit framework and C# but its not relevant). The total execution time is more than 40 hours. In between if there are any e

I'm executing a test-execution project using visual studio 2005 (using the pnunit framework and C# but its not relevant). The total execution time is more than 40 hours. In between if there are any environment problems on the network (external factors like remote server is down, db is down etc) the code stops executing. This creates a problem because when I notice the error I'll have to manually set external factors right and again resume the run. So it becomes important to keep checking the execution progress frequently to make sure we are not losing time due to halted execution, which is troublesome.

I looking for a way to somehow either triggering an email/batch script/exe/anythin开发者_JAVA百科g when the code stops running. Is there any way I could achieve this? Any ideas?

Thanks, Mugen


If you only need to trigger an email at the end of the application, then I would suggest putting the code here at the end of your execution.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号