View Single Post
  #2 (permalink)  
Old January 5th, 2007, 10:50 AM
planoie's Avatar
planoie planoie is offline
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

Initially, there are two solutions:

Easy: Set up the windows scheduler to execute the program and the desired schedule.

Hard: Make the program and windows service with timer functionality to fire off the desired logic at the configured time.

I don't put a lot of faith in the windows scheduler. I've had it crap out on me on a number of occasions.

Alternative solution to save you from writing your own windows service:
I have worked a lot with continuous integration using an open source .NET application called CruiseControl.NET (http://ccnet.thoughtworks.com/). I have actually used it as a replacement for the windows scheduler because it always works plus it has a web interface for monitoring and controlling tasks as well as very good logging and task control.

-Peter
Reply With Quote