By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,436 Members | 2,958 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,436 IT Pros & Developers. It's quick & easy.

Running Console App weekly

P: n/a
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
Nov 15 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
mstask ?

and use the programs error code to check on ?
"Tim Almond" <an**@anon.co.uk> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
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

Nov 15 '05 #2

P: n/a
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/de...asp?frame=true

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

--
Mike Mayer
http://www.mag37.com/csharp/
mi**@mag37.com
"Tim Almond" <an**@anon.co.uk> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
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

Nov 15 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.