Running Console App weekly

  • Thread starter Thread starter Tim Almond
  • Start date Start date
T

Tim Almond

I have a console app which generates a report. I'd like the app to run
weekly, but I'd also like it to be controlled so that if there's a bug, it
gets reported somehow.

Anyone done this and have any tips? Was thinking of calling the .exe from
DTS.

Tim Almond
 
I'd use scheduler or something like that I suppose for the running of the
app. (I've never used it myself, preferring to keep regularly scheduled
activities to cron on my linux box)

For the reporting of "exceptions" - have a look at the MS Exception
Management Application Block. You'll have to turn any error into an
exception, but most are to begin with:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/emab-rm.asp?frame=true

This application block, be default, logs to the System's EventLog.
 
Back
Top