Thursday 15 May 2014

Creating a long running, nightly task in .NET 3.5 for use on Windows Server 2008 -


I have a long lasting, calculation and disk intensive task, which needs to be run on Window Server 2008; My frame of choice is there. NET 3.5 SP1 An opportunity This work may also fail for any number (i.e. the lack of disk space) and I want to make sure the errors are handled & amp; In addition to this, this work will need permission to make database connections and to do things like read / write file system.

EDIT: My question is more about whether to use the window schedule or some other mechanism to stop the process.

Create a console application inside the main () method, insert a try-catch, and remove unwanted exceptions Use SmtpClient to send notifications about. Compile it and add an entry to run it through the scheduled work applet.


No comments:

Post a Comment