Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > .NET 2.0 and Visual Studio. 2005 > .NET Framework 2.0
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
.NET Framework 2.0 For discussion of the Microsoft .NET Framework 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 2.0 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 28th, 2008, 11:21 PM
Registered User
 
Join Date: Apr 2007
Location: , , .
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Getting the "Last Result" from a Scheduled Task?

Hi, does anyone know of a way\s to get the "Last Result" fom a windows scheduled task? Im using dotnet (vb) and am very lost on this one.

Thanks and any help appreciated.

Regards

Reply With Quote
  #2 (permalink)  
Old April 29th, 2008, 12:37 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Here's a slightly sarcastic but legitimate suggestion:

1) Shut down windows task scheduler (because it just stinks)
2) Install CruiseControl.NET
3) Configure your scheduled tasks
4) Write flashy reporting apps that consume the plentiful XML generated from the CruiseControl processes.

In all seriousness... I have given up on task scheduler. I use CruiseControl for continuous integration of software, but I also use it for managing other scheduled processes such as daily data import routines, data analysis processes, data migration and general backup processes not provided by other means.

It is robust, efficient, well documented, logs its behavior well, generates XML, can email when processes fail and other things. It has a web dashboard as well as a client app for monitoring the state of its processes. I have never had it fail on me. The things that fail are usually the process I put into it, but the app itself is very solid. It supports various scheduling scenarios and because it's intended as a continuous integration system for software it has hooks into various source control system so it can trigger processes when source changes are detected. It has a task for shelling out to any executable process so it's basically open to anything.

-Peter
peterlanoie.blog
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add task in Scheduled Task programatically amitjoshipune C# 2 July 31st, 2008 05:42 AM
Scheduled task langer123 Classic ASP Basics 0 March 16th, 2005 11:14 AM
In program Scheduled Task ginoitalo Pro VB 6 4 August 31st, 2004 11:32 PM
[c#]scheduled task maddonuts General .NET 1 July 7th, 2004 11:53 AM
Scheduled Task Ben Access VBA 1 February 24th, 2004 02:05 PM



All times are GMT -4. The time now is 07:56 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.