Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 2.0 and Visual Studio. 2005 > .NET Framework 2.0
|
.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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 28th, 2008, 11:21 PM
Registered User
 
Join Date: Apr 2007
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

 
Old April 29th, 2008, 12:37 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
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





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





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