DNK has a spanking new server up and running like clockwork. Stability problems are a thing of the past. Our new monitoring service reports 100% uptime since the move!
26
kicks
published 1 year, 1 month ago, submitted by HoolieMan HoolieMan 1 year, 1 month ago

weblogs.asp.net — A classic post by Jon Galloway: A Windows Service is the wrong solution to scheduling one-off custom processes. The right solution for scheduling simple processes is the Windows Task Scheduler.

Add a comment 1 comment | category: | Views: 66 | Get KickIt image code
Using a Windows Service just to run a scheduled process is Wrong!
tags: | tag it

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:

Comments:
Where I work, we implemented exactly this kind of solution using a Windows service for scheduling. It did / does work, but in hindsight, I would have to agree with the author. Its a bit too "low-level" for all it does. Granted, I dont like task scheduler, but it IS made for these kinds of scenarios. And the other thing to think about is maintenance. Putting stuff like this in as a Windows service takes it out of the proper context for troubleshooting. Folks who do the support of a system may (rightfully so) think that the buggy scheduled process is running via task scheduler, when its actually tucked away on a machine as a service. It just makes sense to put it where Microsoft recommends.
posted by xlar54 1 year, 1 month ago



information Login or create an account to comment on this story

Related Stories:
 

Search: