473,385 Members | 1,409 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Running Console App weekly

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
2 1202
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: David Olive | last post by:
Hi guys, I'm having a bit of a problem getting a VB .NET console app to run happily as a scheduled task. The app itself generates a bunch of word documents on a file share on another server by...
1
by: savvy | last post by:
I been working on a recruitment agency project in which i'm setting up job alerts for the job seekers. I've the given the jobseekers options of receiving the job alers instantly, daily, weekly and...
4
by: sneffe | last post by:
Hi, im writing a program to keep track of which programs is currently running. I would like to have the caption of running programs displayed in a textbox on my form. I cant seem to find an easy way...
2
by: Chris Fink | last post by:
Using WMI, how do I retrieve the list of running applications on a pc? If you open up task manager and click on the applications tab, I am trying to retrieve the task name and the status. I...
5
by: Roger Withnell | last post by:
This is a framed webpage with the navigation bar in "NavBar" and the main window in "Main". When opening a new page in "Main" from "NavBar" with: function OpenFrameWindow(src) { var...
8
by: nadeem_far | last post by:
Hello All, These days I am working on a console application that will register for certain events and do some processing based on the event notification. Now, all the objects are being created...
17
by: Csaba Gabor | last post by:
Is there a way to determine the path to the php executable (as opposed to the script. In other words, I am looking for the path to php.exe or php-win.exe) that is currently running (ie. how was...
3
by: mochatrpl | last post by:
I am looking for a way to make a query / report display the running average for total dollars. I have already set up a query to provide totals dollars per day from which a report graphly shows...
2
by: tom.sikes | last post by:
We wrote some code (utility stuff) that is intended to run as part of either a windows service, a console app or a windows app. What I'd like to do is when it is running as a service have it log...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.